19.12.2017, 12:14
Quote:
Код:
SendToAdmins(color, Message[]) { foreach(new i : Player) { if(!IsPlayerAdmin(i)) continue; SCM(i, color, Message); } return 1; } |
Quote:
Try this,
Works perfect for me. Код:
for(new a=0;a<MAX_PLAYERS;a++) if(AdminLevel[a]>=2) // YOUR ADMIN VAR here { SendClientMessage(a,-1,string); } Код:
SendMessageToAdmins(-1,str); stock SendMessageToAdmins(color,const string[]) { for(new i=0; i < MAX_PLAYERS; i++) { if(IsPlayerConnectedEx(i)) if(AdminLevel[i] >=2) SendClientMessage(i,color,string); } return 1; } |