When last human is left when use infection bomb and not effect of human I mean when i use bomb on last human so human dont die any like this plugin can u help me for it?
When last human is left when use infection bomb and not effect of human I mean when i use bomb on last human so human dont die any like this plugin can u help me for it?
To do what you requested. If you use ZP 4.3, Open your main Zp.sma or whatever it is in your Addons.
Find this part -->
// Last human is killed
if (fnGetHumans() == 1)
{
ExecuteHamB(Ham_Killed, victim, attacker, 0)
continue;
}
And then delete all the above code and recompile your main plugin, and you are done
Else, if you don't want to edit main base plugin use this plugin --->
For ZP50 (With block assassin + nemesis from having it) (give only in infections modes)
public zp_user_infected_post(id) { new current_mode = zp_gamemodes_get_current() if (current_mode != g_GameModeInfectionID && current_mode != g_GameModeMultiID && current_mode != ZP_NO_GAME_MODE) // ZP_NO_GAME_MODE used to give the 1st zm if admin used admin menu to make someone zm before any game mode start return;
if (zp_class_nemesis_get(id) || zp_class_assassin_get(id)) return;
if (zp_get_user_first_zombie(id)) give_item(id, "weapon_hegrenade") }
For ZP40 (With Block Nemesis) (Only Infections Modes) public zp_user_infected_post(id) { if(zp_is_swarm_round() || zp_is_nemesis_round() || zp_is_survivor_round() || zp_is_plague_round()) return;