Help. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help. (
/showthread.php?tid=100364)
Help. -
[CK]Steel - 04.10.2009
Is there any possible way to make for example.. I only want level 1 admins to use the command /moderatorduty.. How am I supposed to do that?
Код:
Admins[playerid][Admin] >= 1
If I put that, then all of the admins are able to use the command.
Re: Help. -
MadeMan - 04.10.2009
Код:
Admins[playerid][Admin] == 1
Re: Help. -
[CK]Steel - 04.10.2009
Quote:
Originally Posted by MadeMan
Код:
Admins[playerid][Admin] == 1
|
How can I make it so that only level 3 and BELOW admins can use a specific command?
Re: Help. -
[CK]Steel - 04.10.2009
Someone?
Re: Help. -
MadeMan - 04.10.2009
Код:
Admins[playerid][Admin] >= 1 && Admins[playerid][Admin] <= 3
Re: Help. -
Correlli - 04.10.2009
Learn how to use operators:
https://sampwiki.blast.hk/wiki/Control_Structures#Operators