Liberty Unleashed
Scripting => Script Help => Topic started by: Ahmed Abouelnas on February 26, 2013, 12:00:20 pm
-
how to make my car stop by clicking the bind key (k)
-
Use the Client Event "BindKey" for the k, and then add its respective script.
-
but what to write in ramp.nut and what to write in ramp-binds.nut
-
I think if you set the vehicles position, it will stop automatically (as in, the speed will be reset to 0).
Try something like this:
player.Vehicle.Pos = player.Vehicle.Pos
I hope this helps! If you have any more questions, please post them in the script help section and somebody should have an answer.
-
You may also set the velocity to 0.
player.Velocity = Vector(0,0,0);
Also moved to correct board.