Feche1320 Posted March 19, 2012 Posted March 19, 2012 Is there any function to avoid player from exiting a vehicle? I tried: toggleControl("enter", false) But it isn't working..
Agon Posted March 19, 2012 Posted March 19, 2012 This? onClientVehicleStartExit --- and cancel the event
Absence2 Posted March 19, 2012 Posted March 19, 2012 https://wiki.multitheftauto.com/wiki/Control_names but like solid said, enter_exit - Make the player exit a vehicle, just thought it would be useful to let you know everything can be found there.
Feche1320 Posted March 19, 2012 Author Posted March 19, 2012 Lol, what is "enter" for then? haha thanks
Castillo Posted March 19, 2012 Posted March 19, 2012 There's no such control "enter", you've just forgot about the "_exit" .
Feche1320 Posted March 19, 2012 Author Posted March 19, 2012 https://wiki.multitheftauto.com/wiki/Control_namesbut like solid said, enter_exit - Make the player exit a vehicle, just thought it would be useful to let you know everything can be found there. Well, I just added the event onClientKey and started pressing keys, and got the "enter", that's why I used enter .
Castillo Posted March 19, 2012 Posted March 19, 2012 That's the key "enter", not the control name, they are not the same thing.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now