Page 1 of 1
is there a way to make a custom message in the server
Posted: Sat Feb 02, 2013 8:57 am
by WiiStream
I was wondering if there was a way to make a custom message to a player like server_message something like this.
this->PChar->pushPacket(new CServerMessagePacket("custom message hello player"));
Re: is there a way to make a custom message in the server
Posted: Sat Feb 02, 2013 2:46 pm
by whasf
Look at packet_system.cpp, SmallPacket0xB5 function. That should get you started.
Re: is there a way to make a custom message in the server
Posted: Sat Feb 02, 2013 10:03 pm
by bluekirby0
If you only want it sent to one player, you need to construct a chat packet and push that to the player.
Re: is there a way to make a custom message in the server
Posted: Sun Feb 03, 2013 6:58 am
by WiiStream
Thank you that solved it.