26.01.2013, 20:26
Код:
COMMAND:admins(playerid,params[]) { SendClientMessage(playerid,neongruen,"Online admins:"); new var; for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { if(Admin[i] > 0) { format(str,144,"*%d admin %s[%d]",Admin[i],pname[i],i); SendClientMessage(playerid,hellblau,str); var ++; } } } if(var == 0) NoSuccess(playerid,"No admins online"); return 1; }