[Doubt] how to block a 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: [Doubt] how to block a command (
/showthread.php?tid=653009)
[Doubt] how to block a command -
BigSmokeBB - 24.04.2018
how to block a command with another command
Re: [Doubt] how to block a command -
UFF - 24.04.2018
You mean admin command?
Like /ablock which will block a player's command?
Re: [Doubt] how to block a command -
Lucky™ - 24.04.2018
Take a look at this:
https://sampforum.blast.hk/showthread.php?tid=568459
Change it as your needs.
Re: [Doubt] how to block a command -
BigSmokeBB - 24.04.2018
Thanks
Re: [Doubt] how to block a command -
ItsRobinson - 24.04.2018
That command blocker seems quite over complicated.
You can just use a command, with a variable and a foreach loop with a check of the players stats.
If you're not really familiar with scripting though, I guess that command blocker script would be fine.