04.10.2009, 15:43
If you want the id next to the name you cant have the name as a seperate color.
pawn Код:
public OnPlayerText(playerid, text[])
{
new name[MAX_PLAYER_NAME];
new string[144];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s[%d] : %s", name, playerid, text);
SendClientMessageToAll(string);
return 0;
}