enzopaul4 Posted September 28, 2016 Share Posted September 28, 2016 Hello i have this script , how can i make if player is in vehicle , player to be teleporting to the location with the car? Thank you function teleport(thePlayer) if thePlayer then setElementPosition(thePlayer, 1792.99231, -1907.76294, 13.39883) outputChatBox("Ai fost teleportat catre Garajul Tunning Auto!", thePlayer, 0, 255, 255) end end addCommandHandler("tunning", teleport) Link to comment
iPrestege Posted September 28, 2016 Share Posted September 28, 2016 Use : getPedOccupiedVehicle 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