Quote:
Originally Posted by Chdata
Does 0.0 in a timer really 'fire next frame'?
|
No. Timers are only checked however often SM is set to check timers, which in the default compiles of SM is every 0.1 seconds.
Of course, since SM 1.6, setting a
RequestFrame callback will set fire on the next frame.
Anyway, going back to the topic at hand, if you want to set health as non-overheal, you can use SDKHooks to
add a SDKHook_GetMaxHealth hook when players are
put in the server and modify the health in the callback.
Alternately, you can use the
TF2Attributes plugin to add a "max health additive bonus" attribute to players (keeping in mind that it
adds this much health to them). This is how
Huntsman Hell works and it respects health changes done by weaponry (i.e. Sandman decreasing health by 15).
__________________