get distance between coords fivem code example
Example: get distance between coords fivem
-- GET_DISTANCE_BETWEEN_COORDS
local retval --[[ number ]] =
GetDistanceBetweenCoords(
x1 --[[ number ]],
y1 --[[ number ]],
z1 --[[ number ]],
x2 --[[ number ]],
y2 --[[ number ]],
z2 --[[ number ]],
useZ --[[ boolean ]]
)