zombie_escape.cfg
ze_freeze_damage 1
My settings are like this.
But when zombies are frozen by ice mines.
But humans can't do damage when attacking zombies.
trigger_hurt Can't kill zombies.
Please help me.thanks
help me
Generally, this CVAR is working well, however, I doubt you are using Block Damage plugin. You can edit the block damage plugin to be:
- #include <zombie_escape>
- new bool:g_bBlockDamage
- public plugin_init ()
- {
- register_plugin("Block Damage", "1.0", "Raheem")
- RegisterHam(Ham_TakeDamage, "player", "Fw_TakeDamage_Pre", 0)
- }
- public ze_zombie_appear()
- {
- g_bBlockDamage = true
- }
- public ze_zombie_release()
- {
- g_bBlockDamage = false
- }
- public ze_fire_pre(id)
- {
- if (g_bBlockDamage)
- return 1;
- return 0;
- }
- public Fw_TakeDamage_Pre(iVictim, iInflictor, iAttacker, Float:flDamage, bitsDamage)
- {
- if (is_user_alive(iVictim))
- {
- if (ze_is_user_zombie(iVictim))
- {
- if (ze_zombie_in_madness(iVictim) || g_bBlockDamage/* || ze_zombie_in_forst(iVictim)*/)
- {
- return HAM_SUPERCEDE
- }
- }
- }
- return HAM_IGNORED
- }
He who fails to plan is planning to fail
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute
Sign in
Who is online
Users browsing this forum: No registered users and 0 guests