SonicTHedgehog Posted September 2, 2011 Share Posted September 2, 2011 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 Link to comment
bandi94 Posted September 2, 2011 Share Posted September 2, 2011 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) Link to comment
SonicTHedgehog Posted September 2, 2011 Author Share Posted September 2, 2011 Thanks ! 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