Jump to content

How to warp client side ped into vehicle?


vovo4ka

Recommended Posts

Posted

I have a problem. How to send to server ID of client side created ped?

or How to warp client side ped into vehicle?

or How to give weapon to client side peds?

server side code getElementsByType("ped") returns nil

If i send ped id directly to server - error bad @ pointer

Posted

It's indeed impossible to warp a client-side ped into a server-side vehicle. In fact, it's impossible to warp a client-side ped into ANY vehicle.

There has been a request for adding warpPedIntoVehicle client-side over here.

Posted

btw: this will be a bit around the topic, but whatever:

its there any way of making ped entering vehicle like any player -> i mean, animation, car jacking if theres already somebody in vehicle, etc?

setPedControlState with enter_exit dont work

Posted
its there any way of making ped entering vehicle like any player -> i mean, animation, car jacking if theres already somebody in vehicle, etc?

Should be possible, in some way. But it'd be hacky and would take some time to make it.

try finding it in ped task system

And then what? There's nothing like setPedTask to set tasks. :roll:

Posted
i think you need to create the peds server side in order to make it work correctly

SetPedLook at doesn't work with server-side peds :|

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...