mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
📦 Update ESX.PlayerData coords
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user