SA-MP Forums Archive
HELP Admins command - 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: HELP Admins command (/showthread.php?tid=358964)



HELP Admins command - NewbieScripter - 12.07.2012

How to make this ?




Re: HELP Admins command - NewbieScripter - 12.07.2012




Re: HELP Admins command - mickos - 12.07.2012

You must be make an admin script, and make some peoples that you can trust admin.


Re: HELP Admins command - NewbieScripter - 12.07.2012

i have made a admin script..


Re: HELP Admins command - NewbieScripter - 12.07.2012




Re: HELP Admins command - clarencecuzz - 12.07.2012

Let's say you make an admin command, how do you check if they're an admin?

if(AdminLevel[playerid] ...)


Re: HELP Admins command - Neil. - 12.07.2012

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
Let's say you make an admin command, how do you check if they're an admin?

if(AdminLevel[playerid] ...)
To continue what clarencecuzz said,check your admin level function and use Dialogs to connect it, as for something like "9 admins are online", you can make a loop to check whether he is an admin via your function and connect it with your dialog...