05.01.2014, 22:08
Hi..
I would like to know how you put the id close the chat when one writes
es: br0nx (0): text
I would like to know how you put the id close the chat when one writes
es: br0nx (0): text
public OnPlayerText(playerid, text[])
{
new _string[ 145 ], GetName[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, GetName, MAX_PLAYER_NAME );
format( _string, sizeof( _string ), "%s(%i): %s", GetName, playerid, text );
return false; //false to avoid sending double text messages.
}