Scr_player_healthregentime

Anyone know why this Dvar does not work
I want it to be 0 so there is no health regen

I have set it in the server config file with no effect and also tried it in a gsx script to no effect.

It always says in console it is set to 5

When I set it in console to 0 it says 0 but the health still regenerates

Cheers
MAD_DAD

The config may not work. you will need a gsx script…since I know you already know about gsx scripting, I will just tell you what exactly needs to be triggered:

self waittill("spawned_player");
wait 0.05;
self notify("end_healthregen");

Put that in a loop and have it run on players. It will cancel out health regen.

Thanks so much, works a treat. You are a star

1 Like