Jump to content

ped get out a player out of a vehicle


pepsi18

Recommended Posts

Posted (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 by f8upd8
Posted
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 :(

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...