SA-MP Forums Archive
command /admins - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: command /admins (/showthread.php?tid=406896)



command /admins - RiChArD_A - 12.01.2013

Hi I want to know how to make a command that shows the player all the admin that are on when they type /admins. And another one to make other players admins when I type /makeadmin [id] | How do I do it?


Re: command /admins - JustinAn - 12.01.2013

Please do not use the Scripting Help section for requesting scripts.
Use this link to request scripts please.
https://sampforum.blast.hk/showthread.php?tid=187229


Re: command /admins - CBCandyBoy - 12.01.2013

first of all tell your admin system


Respuesta: Re: command /admins - RiChArD_A - 12.01.2013

Quote:
Originally Posted by CBCandyBoy
Посмотреть сообщение
first of all tell your admin system
It's just a very simple adnim system I did. Nothing special :/


Re: Respuesta: Re: command /admins - Mr.Anonymous - 12.01.2013

Quote:
Originally Posted by Lauder
Посмотреть сообщение
It's just a very simple adnim system I did. Nothing special :/
Tell us or do it yourself.


Re: command /admins - geohareas - 12.01.2013

Guys just take it easy,he didnt ask for a script,he asked for scripting help,do not force him realease his script on public.If you seriously want help him,you should ask his TeamViewer,login and help them as much as possible,if you can.


AW: command /admins - Blackazur - 12.01.2013

Код:
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;
}



Respuesta: AW: command /admins - RiChArD_A - 13.01.2013

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
Код:
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;
}
Can you make it into the original simple /command and not using CMD. please


Respuesta: AW: command /admins - RiChArD_A - 13.01.2013

Quote:
Originally Posted by Lauder
Посмотреть сообщение
Can you make it into the original simple /command and not using CMD. please
Is anyone going to help?


Re: command /admins - u3ber - 13.01.2013

Hi Lauder,

can we see what you have attempted?