function Global.GenerateDirectionsToCoord(x, y, z, p3)
return _in(0xF90125F1F79ECDF8, x, y, z, p3, _f, _f, _f, _r, _ri)
end
I have tried the following thing, but i can’t get it to work.
direct = true
Citizen.CreateThread(function()
while true do
Wait(0)
if direct ~= false then
local b1, b2, b3 = table.unpack( GenerateDirectionsToCoord(200, 300, 22, true) )
Citizen.trace(b1)
end
end
end)
iam getting this error
The goal is to get a Integer that stands for a direction.
I would love to know how to get this working in lua. Any help is appreciated <3