Jump to content

Teleport with car


enzopaul4

Recommended Posts

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

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