27.08.2013, 18:36
Bom quero colocar um tag de admin qndo digita no chat
pawn Код:
public OnPlayerText(playerid, text[])
{
if(APlayerData[playerid][PlayerName])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(textv2, sizeof (textv2), "%s [ID:%d]:{FFFFFF} %s", name, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),textv2);
return 0;
}