Teleport with car

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

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)

That works for me, but I do not teleport inside the vehicle, do you know how I can do it?

1 Like

hey. did u get a fix for that?

EDIT: Nevermind. i got it fixed

esx_marker
tp to a marker
/tpm

1 Like