mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 13:56:02 +01:00
feat(core): added update last location on client.
This commit is contained in:
@@ -17,6 +17,7 @@ CreateThread(function()
|
||||
if DoesEntityExist(ped) then
|
||||
local lastLocation = GetEntityCoords(ped)
|
||||
playerInfo.lastLocation = {x = lastLocation.x, y = lastLocation.y, z = lastLocation.z}
|
||||
TriggerClientEvent("ND:updateLastLocation", player, playerInfo.lastLocation)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user