View Single Post
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 11-10-2021 , 13:07   Re: Zombie Plague Special 4.4 [Final Beta] (05 December 2020)
Reply With Quote #129

Quote:
Originally Posted by madrichello View Post
Hi, PerfectScrash!
Thanks for the best addons i ever seen!
I will make server with your addons, this is my dream from childhood to have zp server.
How can i make the infection bomb dont kill last human?
Open the main plugin, and find:

Code:
// Last human is killed 

        if (fnGetHumans() == 1) 

        { 

            ExecuteHamB(Ham_Killed, victim, attacker, 0) 

            continue; 

        }
and delete this:

Code:
ExecuteHamB(Ham_Killed, victim, attacker, 0)
This is how I removed the infection bomb's ability to kill the last human in my ZM server. It should work for you, too. If it doesn't work, tell me, so I can try to find another way to help you.

Don't forget to make a backup of the .sma file, before you edit it, in case something goes wrong. If you make a backup, you will be able to easily restore the .sma file, if something goes wrong with the editing of the code.
GlobalPlague is offline