Feche1320 Posted March 19, 2012 Share 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.. Link to comment
Castillo Posted March 19, 2012 Share Posted March 19, 2012 toggleControl("enter_exit", false) Link to comment
Agon Posted March 19, 2012 Share Posted March 19, 2012 This? onClientVehicleStartExit --- and cancel the event Link to comment
Absence2 Posted March 19, 2012 Share 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. Link to comment
Feche1320 Posted March 19, 2012 Author Share Posted March 19, 2012 Lol, what is "enter" for then? haha thanks Link to comment
Castillo Posted March 19, 2012 Share Posted March 19, 2012 There's no such control "enter", you've just forgot about the "_exit" . Link to comment
Feche1320 Posted March 19, 2012 Author Share 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 . Link to comment
Castillo Posted March 19, 2012 Share Posted March 19, 2012 That's the key "enter", not the control name, they are not the same thing. Link to comment
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