15.01.2014, 17:47
I'd say bad method, not really a good idea and style of scripting. things you could improve is listed below.
- You could use SetVehicleVelocity and a boolean variable to check if the variable is set to true or false.
- Why create this function if there is TogglePlayerControllable already?
- Why the earth would you freeze a vehicle?