diff --git a/[core]/es_extended/client/modules/actions.lua b/[core]/es_extended/client/modules/actions.lua index 0ff99ff9..028ded07 100644 --- a/[core]/es_extended/client/modules/actions.lua +++ b/[core]/es_extended/client/modules/actions.lua @@ -45,8 +45,8 @@ function Actions:TrackPed() local newPed = PlayerPedId() if playerPed ~= newPed then - ESX.PlayerData.ped = newPed ESX.SetPlayerData("ped", newPed) + ESX.PlayerData.ped = newPed TriggerEvent("esx:playerPedChanged", newPed)