pepsi18 Posted July 19, 2017 Share Posted July 19, 2017 it's possible that a ped get out a player of a vehicle ?? What function should I use? Link to comment
pa3ck Posted July 19, 2017 Share Posted July 19, 2017 If you mean with animation and all, no, you can only use removePedFromVehicle Link to comment
f8upd8 Posted July 19, 2017 Share Posted July 19, 2017 (edited) SetPedAnalogControlState Edited July 19, 2017 by f8upd8 Link to comment
pa3ck Posted July 19, 2017 Share Posted July 19, 2017 1 hour ago, f8upd8 said: SetPedAnalogControlState Can you please also include code, because I'm pretty sure you can't use that, I assume you tried it and it worked? Link to comment
f8upd8 Posted July 19, 2017 Share Posted July 19, 2017 (edited) 6 minutes ago, pa3ck said: Can you please also include code, because I'm pretty sure you can't use that, I assume you tried it and it worked? Too lazy for that. I guess it s only way to do it. Players and Peds can be controlled only via ControlState functions. Try just spawn ped via createPed nerby vehicle, then add any trigger to function SetPedAnalogControlState(ped, "enter_exit", true) I guess ped will jack drop driver off the vehicle If you KNOW that i'm wrong and it is impossible, please tell why it is impossible. Why in some scripts zombies can attack me, but can't jack me off vehicle? Edited July 19, 2017 by f8upd8 Link to comment
pa3ck Posted July 19, 2017 Share Posted July 19, 2017 It does not work, you can use setPedAnalogControlState with stuff like movement etc, but not for enter_exit. I had to create myself the animations then warpPedIntoVehicle, 2 animations afaik because there's one to open the door and then one to actually enter the car.. Also this: Link to comment
pepsi18 Posted July 20, 2017 Author Share Posted July 20, 2017 3 hours ago, pa3ck said: It does not work, you can use setPedAnalogControlState with stuff like movement etc, but not for enter_exit. I had to create myself the animations then warpPedIntoVehicle, 2 animations afaik because there's one to open the door and then one to actually enter the car.. Also this: I already tried setPedControlstate and don't not work 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