Thread: [Subplugin Submission] [ADDON] 50% Nemesis vs 50% Survivors
View Single Post
Speed!
BANNED
Join Date: Jan 2009
Old 03-06-2009 , 13:57   Re: 50% Nemesis - 50% Survivors
Reply With Quote #3

Quote:
Originally Posted by MeRcyLeZZ View Post
Good news for those of you looking forward to this setup. You can now have a 50-50 Plague round in two easy steps.

1. Get ZP 4.3-beta1 or later (Beta updates thread)
2. Use this sub-plugin along with it:
Code:
#include <amxmodx> #include <zombieplague> new g_maxplayers public plugin_init() {     // This addon makes Plague rounds be 50% nemesis and 50% survivors     // REQUIRES ZP version 4.3-beta1 or later     register_plugin("[ZP] 50-50 Plague Mode", "0.1", "MeRcyLeZZ")         g_maxplayers = get_maxplayers() } public zp_round_started(gamemode) {     // Plague mode only     if (gamemode != MODE_PLAGUE)         return;         new id     for (id = 1; id <= g_maxplayers; id++)     {         // Dead or already a nemesis/survivor         if (!is_user_alive(id) || zp_get_user_nemesis(id) || zp_get_user_survivor(id))             continue;                 // Turn zombies into Nemesis and humans into Survivors         if (zp_get_user_zombie(id))             zp_make_user_nemesis(id)         else             zp_make_user_survivor(id)     } }
yeah, since beta 3 sets a delay for extra items/plugins for changin' models, it can be easily done with this plugins. allthough i would change some things in ZP core for better perfonmance, like changin EF_BRIGHTLIGHT that is send tooooo much often than a TE_DLIGHT with a 0.1 set task, and anothers things, but its a good way for those who know "nothin'" about ZP
Speed! is offline