View Single Post
1695
Senior Member
Join Date: Jan 2006
Old 06-18-2011 , 05:52   Re: [TF2] Health w/o Decay
Reply With Quote #16

Hi, sorry for the bumping but wouldn't that work ? :

You set the amount of life you wanna add (ex : new HPBoost = 50;) then OnGameFrame() you use SetEntityHealth to set client's health to "currentHealth + HPBoost" as long as "currentHealth > 1", then you stop adding the HPBoost...

Should do it no ? How CPU intensive is OnGameFrame ?
1695 is offline