mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(client/points): set cache.coords
See last commit description.
This commit is contained in:
@@ -11,6 +11,8 @@ local tick
|
|||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
while true do
|
while true do
|
||||||
local coords = GetEntityCoords(cache.ped)
|
local coords = GetEntityCoords(cache.ped)
|
||||||
|
cache.coords = coords
|
||||||
|
|
||||||
Wait(300)
|
Wait(300)
|
||||||
closest = nil
|
closest = nil
|
||||||
table.wipe(nearby)
|
table.wipe(nearby)
|
||||||
|
|||||||
Reference in New Issue
Block a user