Is Player Admin?
#2

Код:
SendClientMessage(playerid, COLOR, "Online Admins!");
for (new i; i < GetMaxPlayers(); i++)
{
     if(IsPlayerAdmin(i) && IsPlayerConnected(i))
     {
           new playername[24];
           new string[40];
           GetPlayerName(i, playername, 24);
           format(string, sizeof(string), "Admin %s (id:%d)", playername, i)
           SendClientMessage(playerid, COLOR, string);
     }
}
Untested, should work. Next time, search!
Reply


Messages In This Thread
Is Player Admin? - by Slash01 - 29.04.2011, 10:28
Re: Is Player Admin? - by Ironboy500[TW] - 29.04.2011, 10:49
Re: Is Player Admin? - by Sascha - 29.04.2011, 10:50
Re: Is Player Admin? - by Slash01 - 29.04.2011, 10:51
Re: Is Player Admin? - by Sascha - 29.04.2011, 11:04
Re: Is Player Admin? - by Slash01 - 29.04.2011, 11:19
Re: Is Player Admin? - by leong124 - 29.04.2011, 12:33
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:36
Re: Is Player Admin? - by Vince - 29.04.2011, 12:37
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)