29.09.2011, 20:31
Ola gente, eu queria uma ajuda no OnPlayerText.. Instalei a paradinha de sair o id do player no chat, so que eu queria que so o Nome dele ficasse com a cor do player, e o texto saisse branco, mais como faзo??
pawn Код:
new string456[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string456, sizeof(string456), "%s [%i] diz: %s",pName, playerid, text);
new cor123 = GetPlayerColor(playerid);
SendClientMessageToAll(cor123, string456);