vovo4ka Posted April 8, 2010 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
Dark Dragon Posted April 9, 2010 Posted April 9, 2010 i think you need to create the peds server side in order to make it work correctly Loads of fun for free! Also a lot of fun for free!
Gamesnert Posted April 9, 2010 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. Projects: Slothbot | Maximap
dzek (varez) Posted April 9, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
karlis Posted April 9, 2010 Posted April 9, 2010 try finding it in ped task system [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
Gamesnert Posted April 9, 2010 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. Projects: Slothbot | Maximap
vovo4ka Posted April 9, 2010 Author 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
karlis Posted April 10, 2010 Posted April 10, 2010 try finding it in ped task system And then what? There's nothing like setPedTask to set tasks. d'oh [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
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