diff --git a/ND_Core/server/main.lua b/ND_Core/server/main.lua index e59b548..62868ea 100644 --- a/ND_Core/server/main.lua +++ b/ND_Core/server/main.lua @@ -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