Needed A Help Fast!
#4

Ok , so its easy make a variable

new IsInRace[MAX_PLAYERS];

And in the race cmd type

IsInRace[playerid] = true;
Make a cmd to leave it

And in that leave cmd type
IsInRace[playerid] = false;
And in OnPlayerCommandTest
Blah blah blah
On strcmp your race cmd

Type the race cmd && the leave cmd

And if(IsInRace[playerid])
And only leave cmd is allowed

This is how to disable all cmd except /leave

I made such topic here
https://sampforum.blast.hk/showthread.php?tid=568097
Reply


Messages In This Thread
Needed A Help Fast! - by System64x - 20.04.2015, 04:20
Re: Needed A Help Fast! - by SilverSkill - 20.04.2015, 12:24
Re: Needed A Help Fast! - by Alpay0098 - 20.04.2015, 13:49
Re: Needed A Help Fast! - by fuckingcruse - 20.04.2015, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)