COMMAND:admins(playerid,params[])
{
new str[128];
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
if(User[i][Admin] > 0)
{
format(str,128,"%s: %s",Adminrang[User[i][Admin]],PlayerName(i));
}
}
SendClientMessage(playerid,GRAU,"Admins online:");
SendClientMessage(playerid,GRAU,str);
return 1;
}
Warum werden nicht alle Admins aufgeliset die online sind?
mfg