02.04.2011, 08:47
How to make player ID near player name
example:
"Dozikas(1): Hello all."
example:
"Dozikas(1): Hello all."
public OnPlayerText(playerid, text[])
{
new string[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s(%d): %s",name,playerid, text);
SendClientMessageToAll(-1, string);
return 0;
}