Jump to content

Player spawn on vehicle.. help !


SonicTHedgehog

Recommended Posts

Posted

i know how to spawn a vehicle on any x,y,z but how to make the player spawn in the vehicle ? because when i spawn vehicle on any x,y,z using marker it spawns alot of vehicles if the player is still standing on the marker so i want the player to spawn in the car. help me please if you know how. thanks :|:|

Posted

to create only 1 car use local car=true and car=false and check if is true or false and then you got only 1 car

(on markerLeave car=false and on marker hit create the car and car=true )

and to put the player in car use

warpPedIntoVehicle( theplayer,thecar) 
  

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