Skip to content

Commit

Permalink
Merge pull request #907 from Rav3n95/main
Browse files Browse the repository at this point in the history
Fix: Actions, update ped in PlayerData
  • Loading branch information
Rav3n95 authored Feb 20, 2023
2 parents 5e044c6 + fd75949 commit 66243c8
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 66243c8

Please sign in to comment.