Hide Costume

02/22/2019 16:56 babyminion#1
Anyone please help?
02/22/2019 21:17 cookie69#2
Quote:
Originally Posted by babyminion View Post
Anyone please help?
Make sure you have defined your function in DPSrvr.cpp

IN CDPSrvr::CDPSrvr() constructor add somethinglike this:

Code:
ON_MSG( PACKETTYPE_HIDE_COAT, &CDPSrvr::OnHideCoat);
And create the definition of your function like this:
Code:
void CDPSrvr::OnHideCoat( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
    //.........
}
In DPSrvr.h make sure to have the declaration of the function:

Code:
void	OnHideCoat( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
02/23/2019 03:16 babyminion#3
Quote:
Originally Posted by cookie69 View Post
Make sure you have defined your function in DPSrvr.cpp

IN CDPSrvr::CDPSrvr() constructor add somethinglike this:

Code:
ON_MSG( PACKETTYPE_HIDE_COAT, &CDPSrvr::OnHideCoat);
And create the definition of your function like this:
Code:
void CDPSrvr::OnHideCoat( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
    //.........
}
In DPSrvr.h make sure to have the declaration of the function:

Code:
void	OnHideCoat( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize );
Well done! already fixed it! Thanks sir appriciated! :handsdown:
02/23/2019 10:11 YXe#4
Can anyone help me with this?

Hiding fashion hat with no green hat on results into a weird looking face...

[Only registered and activated users can see links. Click Here To Register...]

When I dont have a green hat on, it is not even hiding.