how to disable 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to disable a command? (
/showthread.php?tid=127762)
how to disable a command? -
Sampiscool123 - 14.02.2010
How do i disable players from using a command? but only one command because i want to stop people from using /nos at a race. How would i stop players using a command if they did /race?
Thanks
Re: how to disable a command? -
Moglizorz. - 14.02.2010
You want to see if the player has typed /race and if he has return a message, else continue with the nos.
Re: how to disable a command? -
jamesb93 - 14.02.2010
When they enter the race make a variable like raced[playerid] == 1. Then check if it's == 1 when they type it.
Re: how to disable a command? -
Sampiscool123 - 15.02.2010
How do i make a variable?
Re: how to disable a command? -
gotenks918 - 15.02.2010
new raced[playerid];