feat(core): added update last location on client.

This commit is contained in:
Andyyy7666
2022-08-11 01:16:49 +02:00
parent e98f79bba3
commit e8f461fe56

View File

@@ -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