30.07.2011, 22:04
Hello,
i have this code in onplayertext:
But i have black player name ever. What is problem?
i have this code in onplayertext:
Код:
if(GetPVarInt(playerid, "Muted"))
{
SCM(playerid, COLOR_ORANGE, "You're muted and can't talk!","Vie ste zamolceni, nemozete da zboruvate!");
return 0;
}
else
{
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s[%i]: {FFFFFF}%s",pName, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
return 0;
}


