vovo4ka Posted April 8, 2010 Share Posted April 8, 2010 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 Link to comment
Dark Dragon Posted April 9, 2010 Share Posted April 9, 2010 i think you need to create the peds server side in order to make it work correctly Link to comment
Gamesnert Posted April 9, 2010 Share Posted April 9, 2010 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. Link to comment
dzek (varez) Posted April 9, 2010 Share Posted April 9, 2010 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 Link to comment
karlis Posted April 9, 2010 Share Posted April 9, 2010 try finding it in ped task system Link to comment
Gamesnert Posted April 9, 2010 Share Posted April 9, 2010 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. Link to comment
vovo4ka Posted April 9, 2010 Author Share Posted April 9, 2010 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 Link to comment
karlis Posted April 10, 2010 Share Posted April 10, 2010 try finding it in ped task system And then what? There's nothing like setPedTask to set tasks. d'oh 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