local stoprun = false
function go_to_point(point)
local dist
local mx, my, mz = getCharCoordinates(PLAYER_PED)
dist = getDistanceBetweenCoords2d(point.x, point.y, mx, my)
if dist > 2.0 and stoprun == false then
set_camera_direction(point)
setGameKeyState(1, -255)...