stop losing hp of victim?
Hi
my idea . i want make anti-infection if human has armor dos not infected i try to set human his hp when tok dmg from zombie : PHP Code:
Is it correct or better pleas ? |
Re: stop losing hp of victim?
1. Why are you using TraceAttack ?
2. What's this PHP Code:
|
Re: stop losing hp of victim?
Quote:
|
Re: stop losing hp of victim?
Ham_TakeDamage (pre)... If user has armor, SetHamParamFloat(4, 0.0)... ?
|
Re: stop losing hp of victim?
I think I found some solutions but after knowing how to make TraceAttack forwards ?
debug: PHP Code:
|
Re: stop losing hp of victim?
Quote:
|
Re: stop losing hp of victim?
Quote:
This is just an example of what I want to reach for everyone to understand |
Re: stop losing hp of victim?
You must modify zombie plugin and check if user has armor before infect_user() function gets called.
something like this: PHP Code:
|
Re: stop losing hp of victim?
siriusmd99
i think i found right way to do it : PHP Code:
|
Re: stop losing hp of victim?
This is done in ZP 5.0:
PHP Code:
|
| All times are GMT -4. The time now is 22:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.