23.05.2016, 12:17
Код:
if(text[0] == '#' && pInfo[playerid][Admin] >= 1) { format(strg, sizeof(strg), "(Admin Chat) %s: %s", GetName(playerid), text[1]); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(pInfo[i][Admin] >= 1) { SendClientMessage(i, 0xFF00DD, strg); } } } return 0; }