function teleport(x,y,z)
local koef1, koef2 = 1.05, 0.02
local function getPov(ang)
return (ang^koef1)*koef2*100/memory.getfloat(0xB7CB50, true)
end
while not locateCharAnyMeans2d(PLAYER_PED, x, y, 1, 1, true) and active.v do
local POSX,POSY,POSZ =...