Spice Posted June 28, 2015 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
Spice Posted June 28, 2015 Author Posted June 28, 2015 you can't warp into vehicle in the client side. Any another way to warp player ?
KariiiM Posted June 28, 2015 Posted June 28, 2015 you can't warp into vehicle in the client side. It's an Shared Function.
Animan99 Posted June 28, 2015 Posted June 28, 2015 create vehicle server side and use triggerServerEvent
Saml1er Posted June 28, 2015 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.
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