mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 19:28:52 +00:00
Merge pull request #1277 from Thekuca/dev
fix(es_extended/client/modules/actions): player health regeneration
This commit is contained in:
@@ -30,6 +30,9 @@ CreateThread(function()
|
||||
ESX.SetPlayerData('ped', playerPed)
|
||||
TriggerEvent('esx:playerPedChanged', playerPed)
|
||||
TriggerServerEvent('esx:playerPedChanged', PedToNet(playerPed))
|
||||
if Config.DisableHealthRegeneration then
|
||||
SetPlayerHealthRechargeMultiplier(PlayerId(), 0.0)
|
||||
end
|
||||
end
|
||||
|
||||
if IsPedJumping(playerPed) and not isJumping then
|
||||
|
||||
Reference in New Issue
Block a user