command /admins
#7

Код:
CMD:admins(playerid,params[])
{
	new count;
	SendClientMessage(playerid,GREEN,"Online admins");

	for(new i=0;i<MAX_PLAYERS;i++)
	{
	    if(IsPlayerConnected(i) && PlayerAdmin[i] > 0)
		{
		    format(str,144,"*%d Admin %s",PlayerAdmin[i],PlayerName[i]);
		    SendClientMessage(playerid,GREEN,str);
		    count ++;
		}
	}
	if(count == 0) SendClientMessage(playerid,RED,"no admins online!");
	return 1;
}
Reply


Messages In This Thread
command /admins - by RiChArD_A - 12.01.2013, 00:43
Re: command /admins - by JustinAn - 12.01.2013, 01:19
Re: command /admins - by CBCandyBoy - 12.01.2013, 01:55
Respuesta: Re: command /admins - by RiChArD_A - 12.01.2013, 15:40
Re: Respuesta: Re: command /admins - by Mr.Anonymous - 12.01.2013, 16:10
Re: command /admins - by geohareas - 12.01.2013, 16:15
AW: command /admins - by Blackazur - 12.01.2013, 16:18
Respuesta: AW: command /admins - by RiChArD_A - 13.01.2013, 03:22
Respuesta: AW: command /admins - by RiChArD_A - 13.01.2013, 15:30
Re: command /admins - by u3ber - 13.01.2013, 15:42

Forum Jump:


Users browsing this thread: 2 Guest(s)