[ZP] Addon Simple Zombie HP Regen
2 Attachment(s)
Plugin Description:
Just like Biohazard style it has HP regeneration for zombie. Cvars: zp_regen_max -- Percentage how many health you want to regenerate. zp_regen_add -- Health amount every "regen interval". zp_regen_interval -- Regenerate health interval. zp_regen_dmg_delay -- Delay to start regenerate health after being hit. Credits: Leon M. -- add health code. MeRcyLeZZ -- is_user_valid_* code. Excalibur.007 -- some optimization. Change log: 1.0.1 * some optimization, a better code i hope. * remove fakemeta module. * adding screen fade effect and sound. 1.0.2 * add bot support (works for all BOT). |
Re: [ZP] Addon Simple Zombie HP Regen
Not bad. At least is working.
It's better to cache the CVars & is_user_* as the regeneration function is repeated. and Bits > Bool Overall, this plug-in is still fine. |
Re: [ZP] Addon Simple Zombie HP Regen
do not use native get_user_health(id) for get user health , it bug, just use pev_health is better:D
|
Re: [ZP] Addon Simple Zombie HP Regen
sorry, i dont have some pic, when you regen, you will die with hp = -1 or your hp = 0, but, you can jump and move :D
|
Re: [ZP] Addon Simple Zombie HP Regen
Oh. Then probably yokomo should switch to pev_health.
@yokomo New code. PHP Code:
I reupdated the code again. I removed a CVar. It's useless. |
Re: [ZP] Addon Simple Zombie HP Regen
FAKEMETA FTW!!!!!
|
Re: [ZP] Addon Simple Zombie HP Regen
the original version was better, with no effects!
|
Re: [ZP] Addon Simple Zombie HP Regen
@Moderator
Please lock this thread and move it into Subplugin Submissions |
Re: [ZP] Addon Simple Zombie HP Regen
add sprite man
|
Re: [ZP] Addon Simple Zombie HP Regen
Use TE_SPRITE msg when regen.
|
| All times are GMT -4. The time now is 15:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.