Skip to content

Commit

Permalink
Fix: Actions, update ped in PlayerData
Browse files Browse the repository at this point in the history
  • Loading branch information
Rav3n95 committed Feb 20, 2023
1 parent 0e53b30 commit fd75949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions [core]/es_extended/client/modules/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ CreateThread(function()

if playerPed ~= PlayerPedId() then
playerPed = PlayerPedId()
ESX.SetPlayerData('ped', playerPed)
TriggerEvent('esx:playerPedChanged', playerPed)
TriggerServerEvent('esx:playerPedChanged', PedToNet(playerPed))
end
Expand Down

0 comments on commit fd75949

Please sign in to comment.