SA-MP Forums Archive
Disable Jump/Flip/2 - MultiBoost in Race? - 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: Disable Jump/Flip/2 - MultiBoost in Race? (/showthread.php?tid=361373)



Disable Jump/Flip/2 - MultiBoost in Race? - kbalor - 20.07.2012

How do i disable this command while in race?

Solution is right below..


Re: Disable Jump/Flip/2 - MultiBoost in Race? - nepstep - 20.07.2012

When the race starts add a variable that says the player is inside race like PlayerInsideRace[playerid] = 1; and then add checks at the OnPlayerKeyStateChange like if(PlayerInsideRace[playerid] == 0)


Re: Disable Jump/Flip/2 - MultiBoost in Race? - kbalor - 20.07.2012

Quote:
Originally Posted by nepstep
Посмотреть сообщение
When the race starts add a variable that says the player is inside race like PlayerInsideRace[playerid] = 1; and then add checks at the OnPlayerKeyStateChange like if(PlayerInsideRace[playerid] == 0)
Ohhh i got it now thanks +rep. Anyway i just noticed you changed your signature eh?