Spice Posted June 28, 2015 Share Posted June 28, 2015 The script addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) outputChatBox( "Race has been started" ); local veh = createVehicle ( 411, 2465.43115, -1657.06018, 13.29160, 0, 0, 90 ) warpPedIntoVehicle ( localPlayer, veh ) setElementFrozen ( veh, true ) end ); The car gets spawned but i don't get warped in it. debug message : http://i.imgur.com/wPxLfkQ.jpg Link to comment
Stranger Posted June 28, 2015 Share Posted June 28, 2015 you can't warp into vehicle in the client side. Link to comment
Spice Posted June 28, 2015 Author Share Posted June 28, 2015 you can't warp into vehicle in the client side. Any another way to warp player ? Link to comment
KariiiM Posted June 28, 2015 Share Posted June 28, 2015 you can't warp into vehicle in the client side. It's an Shared Function. Link to comment
Animan99 Posted June 28, 2015 Share Posted June 28, 2015 create vehicle server side and use triggerServerEvent Link to comment
Saml1er Posted June 28, 2015 Share Posted June 28, 2015 you can't warp into vehicle in the client side. It's an Shared Function. Yes but you can't do that in client side. 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