command /admins
#1

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?
Reply
#2

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
Reply
#3

first of all tell your admin system
Reply
#4

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

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

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.
Reply
#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
#8

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
Reply
#9

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

Hi Lauder,

can we see what you have attempted?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)