From 333cc29ee5e73181813dda424aa8a9bf986500aa Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Thu, 24 Aug 2023 01:05:49 +0200 Subject: [PATCH] :package: Update ESX.PlayerData coords --- [core]/es_extended/client/modules/actions.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[core]/es_extended/client/modules/actions.lua b/[core]/es_extended/client/modules/actions.lua index 219c3508..9150f005 100644 --- a/[core]/es_extended/client/modules/actions.lua +++ b/[core]/es_extended/client/modules/actions.lua @@ -21,6 +21,7 @@ end CreateThread(function() while true do + ESX.SetPlayerData('coords',GetEntityCoords(playerPed)) if playerPed ~= PlayerPedId() then playerPed = PlayerPedId() ESX.SetPlayerData('ped', playerPed)