[HELP-ZP] I cant find it.
Hi All AlliedModders.
I from Slovakia and i have not got english lang. I do not know how to make it to the first zombies infecting humans one hit. I seen this in one of the server. And I also tried takedamage but it also is not as good. I do not know how to do that first zombie infected human to one shot and eased him at least 100Anti-Infect Armor and unable to infect example Soilder Uqz for me it's called Terminator and even that did not infect my Hannibal Lector. Thank you for your help. AdamCSzombie.:) |
Re: [HELP-ZP] I cant find it.
My eyes! My head hurts again, thank you!
Take your zp.sma, search the place where pev_armorvalue is checked add !g_firstzombie[attacker] |
Re: [HELP-ZP] I cant find it.
Like this?
} return HAM_IGNORED; } // Attacker is zombie... // Prevent infection/damage by HE grenade (bugfix) if (damage_type & DMG_HEGRENADE) return HAM_SUPERCEDE; // Nemesis? if (g_nemesis[attacker]) { // Ignore nemesis damage override if damage comes from a 3rd party entity // (to prevent this from affecting a sub-plugin's rockets e.g.) if (inflictor == attacker) { // Set nemesis damage SetHamParamFloat(4, get_pcvar_float(cvar_nemdamage)) } return HAM_IGNORED; } // Last human or not an infection round if (g_survround || g_nemround || g_swarmround || g_plagueround || fnGetHumans() == 1) return HAM_IGNORED; // human is killed // Does human armor need to be reduced before infecting? if (get_pcvar_num(cvar_humanarmor)) { // Get victim armor static Float:armor pev(victim, pev_armorvalue, armor ,g_firstzombie[attacker]) // Block the attack if he has some if (armor > 0.0) |
Re: [HELP-ZP] I cant find it.
PHP Code:
|
Re: [HELP-ZP] I cant find it.
The forum rules require that your topic title be descriptive. Please change your title to describe your issue or question. If you fail to do so, you risk your topics being trashed.
Also, do not make posts in all bold font. |
Re: [HELP-ZP] I cant find it.
Quote:
|
| All times are GMT -4. The time now is 09:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.