Need your help with a Native

Is this native Native SetPlayerHealthRechargeMultiplier not working?

Good day fellow FiveMers
I’m working on a projects that I will be releasing to the community once done, but it seems like I’ve hit a wall on a native.

I try using
SetPlayerHealthRechargeMultiplier(GetPlayerPed(-1), 0)
health still regens

I try using
SetPlayerHealthRechargeMultiplier(myPed, 0)
predefined variable for myPed, health still regens

found out it was a float and not an int so I then

SetPlayerHealthRechargeMultiplier(GetPlayerPed(-1), 0.000)
health still regens

I try using
SetPlayerHealthRechargeMultiplier(myPed, 0.000)
predefined variable for myPed, health still regens

They I thought okay, mybe it’s a -1 type deal so…

SetPlayerHealthRechargeMultiplier(GetPlayerPed(-1), -1)
health still regens

I try using
SetPlayerHealthRechargeMultiplier(myPed, -1)
predefined variable for myPed, health still regens

Sooo… Does this not work or is there a magic trick to it?

The game by default regens your health to 3/5 of your max health I don’t want it to regen at all.

I tried searching that native on the whole forum and got nothing.

Thanks everyone!

I have found it has to be called every tick.

Citizen.CreateThread(function()
     while true do
          Citizen.Wait(0)
          SetPlayerHealthRechargeMultiplier(PlayerId(), 0.0)
     end
end)
1 Like

Interested setting that would have to be called every tick isn’t it?
I appreciate your help my friend, I will give it a go.

Not really interesting. Some natives are just required to be called like that.