Quote:
Originally Posted by ukm
Failing any way to actually set the max health, blake could you elaborate a bit on how you implemented periodically adding health to offset the degradation?
|
This plugin isnt perfect. Like I said, its pretty expensive to the CPU compared to the preferred method. Also this could be made better by adding a "normal health" check in the timer that checks what the clients usual maximum health is, and killing the timer if the health amount is less than or equal to that amount. Feel free to tear it apart and use it how you please.
sm_sethealth <#userid|name> <amount>, where amount is the amount of health you want the client to have. If you give an amount less than 10, the healing timer on the given client will be killed. (Dont ask why I used 10. I just thought it was a nice number to use
)