23.09.2014, 18:26
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsPlayerAdmin(playerid))
{
new string[150], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string,sizeof(string),"{40E0D0}[ADMIN] {%06x}%s(%d): {FFFFFF}%s", GetPlayerColor(playerid) >>> 8, name, playerid, text);
SendClientMessageToAll(-1, string);
return 0;
}
return 1;
}