mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
fix(es_extended/client/modules/actions): fix ped change not propogating
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user