[Question] how to stop boost in a race ?
#1

Alright guys so I am using the race system by Rayden (similar name ).
I have implemented a boost system in the gamemode and now the problem is that when I join race , I still can use boost .

The key used to boost =2

Is there any way to stop it when player is in race ?

And yeah , I also want to remove the jump car ability
The key to jump the car = capslock

I hope I get some coding down here related to my matter

Thank you !
Reply
#2

Is that race system is implemented to your gamemode? Then you can do something for it, otherwise nope.
Reply
#3

It is an FS edited according to the gamemode .
Reply
#4

You can make a public function into the filterscript that returns whether a player is in race or not.
Then you can call that public function with CallRemoteFunction and the value will be returned should be checked. If the player is not in race, then allow the speedboost and jump.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)