Reachless Posted January 12, 2019 Share Posted January 12, 2019 I am using the removePedFromVehicle function in order to eject players from vehicles, but when I do that it immediately teleports the player on the top of the vehicle. Is there an alternative so that the vehicle exiting animation is also done? Link to comment
Z4Zy Posted January 12, 2019 Share Posted January 12, 2019 I guess ; setPedControlState(thePlayer, "enter_exit", true) for local players. 1 Link to comment
Captain Cody Posted January 12, 2019 Share Posted January 12, 2019 Gotta make sure to do it on a timer, toggle the control state; and then kill it after a bit. 1 Link to comment
Reachless Posted January 13, 2019 Author Share Posted January 13, 2019 It worked! Thanks a bunch! 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