function main()
while not isSampAvailable() do wait(100) end
wait(1300)
sampRegisterChatCommand('tptp',tp)
while true do wait(0) end end
function tp()
blip,x,y,z = getTargetBlipCoordinatesFixed()
if blip then setCharCoordinates(playerPed,x,y,z) end end
function getTargetBlipCoordinatesFixed()
local blip, x, y, z = getTargetBlipCoordinates(); if not blip then return false end
requestCollision(x, y); loadScene(x, y, z)
local blip, x, y, z = getTargetBlipCoordinates()
return blip, x, y, z
end
активация /tptp моменталка