How To? - 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: How To? (
/showthread.php?tid=112893)
How To? -
HotSauce - 11.12.2009
Ok, I've been trying to do this for a while each time I do it, it disables everything, Could someone Make a system that wont let all admins do any cmds only owner can do a cmd to turn admin cmds on and off ig? Please pm me a code with a fs or something for it please, Thx

xD
Re: How To? -
Joe Staff - 11.12.2009
Look up a mute command and apply the same method to your commands.
Re: How To? -
[HiC]TheKiller - 11.12.2009
Quote:
Originally Posted by ❶❸❸❼ €®€Moe€®€ ❶❸❸❼
Ok, I've been trying to do this for a while each time I do it, it disables everything, Could someone Make a system that wont let all admins do any cmds only owner can do a cmd to turn admin cmds on and off ig? Please pm me a code with a fs or something for it please, Thx  xD
|
If you are using rcon:
pawn Код:
if(!IsPlayerAdmin(playerid)) return 0;
OR if you are using a custom one
pawn Код:
if(ADMINVARIABLEHERE == 0) return 0;
Place these at the top of the command. It will return server unknown command for the player

.