Step 1: Download the zombie class. Step 2: Add .sma file in cstrike/addons/amxmodx/scripting folder. Step 3: Please compile the code locally and add .amxx file in cstrike/addons/amxmodx/plugins folder. Step 4: Copy the name of the zombie class and paste it in cstrike/addons/amxmodx/configs/plugins-zplague.ini file. Step 5: Lastly, just restart the server.
If your server gave the following error after you add the class: Runtime Error!
This application has requested the Runtime to terminate it in an unusual way. Please contact the application`s support team for more information.
ZPA: Just change #include <zombieplague> ==> #include <zombie_plague_advance> and compile .sma file.
ZP: Just change #include <zombie_plague_advance> ==> #include <zombieplague> and compile .sma file.
// User Infected forward public zp_user_infected_post(id, infector) { // If attacker is a leech zombie, gets extra hp if (zp_get_user_zombie_class(infector) == g_zclass_leech) set_pev(infector, pev_health, float(pev(infector, pev_health) + zclass5_infecthp)) }