Teleport with car

help

#1

Does anyone have a teleport code for the car?
Or code snippets?? :smiley:


#2

Just SetEntityCoordsNoOffset with the vehicle object

local playerPed = GetPlayerPed(-1)
local vehicle = GetVehiclePedIsIn(playerPed, false)
local pos = {
    x='0',
    y='0',
    z='0'
}
SetEntityCoordsNoOffset(vehicle, pos.x, pos.y, pos.z, 0, 0, 1)