15.08.2012, 15:48
pawn Code:
CMD:admins(playerid,params[])
{
new count = 0, string[128];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Duty[i] == 1)
{
new string[124];
format(string,sizeof(string),"%s",GetName(i));
SendClientMessage(playerid,-1,string);
count ++;
}
}
if(count == 0)
{
SendClientMessage(playerid,-1,"No admins online");
}
return 1;
}