Approver: Exolent[jNr] (178)
Join Date: Jul 2006
Location: France (95)
Auto Heal On Damage & Spawn Health & FallDamage Modifier
.: Description :.
This plugin make an autohealer, aka when you take damage you recover HPs with ability to set how many HPs you get per second.
The other feature of this plugin is to set the starting health (default is 100HP on cs).
.: Commands :.
- amx_make_autohealer <HpAmount> [Optional: Period]
Create an autohealer and/or set the amount of HPs you can gain per second.
If you set a period, you don't let then engine think by itself, so it uses a bit more resources.
Remove the autohealer.
- amx_spawn_health <HealthAmount>
Set the starting health (0 to deactivate)
- amx_fall_damage <Damage Factor>
Set the fall damage factor (0.0 to deactivate)
.: Modules/Requirements :.
AMXX1.8+.: Changelog :.
It shouldn't be mod specific, let me know if you have any problem with a mod.
added checks to prevent error reported on there
added fall damage modifier/disabled
fixed code wasn't working on playerid 32
fixed cmds weren't working from amxx.cfg or other cfg files
added a check to prevent "Invalid HamHook handle" error
replaced global_get with get_gametime
added ability to change healing period
Last edited by ConnorMcLeod; 08-21-2012 at 13:55.