18.08.2011, 21:16
pawn Код:
if(text[0] == '@' && Admin[playerid] > 0)
{
new string[128],n[24];
GetPlayerName(playerid, n, 24);
format(string, sizeof(string), "[CHAT-ADMIN] %s: %s", n, text);
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i) && Admin[i] > 0)
SendClientMessage(i, COLOR_ADMIN, string);
return false;
}