Kod:
#include <amxmodx>
#include <zombieplague>
new const PLUGIN[] = "Zombie_Revive_Round_Start";
new const VERSION[] = "Premium";
new const AUTHOR[] = "By.KinG";
new Map_Names[][] =
{
"ze_nuke_v1",
"ze_area51_lg",
"ze_campescape_lg",
"ze_jurassickpark2_lg",
"ze_isla_nublar_lg",
"ze_isla_escape_lg",
"ze_cave",
"ze_house_v1",
"ze_potc_fabi",
"ze_atix_panic_v1_fix",
"ze_black_train_v1",
"ze_death_heights_b5",
"ze_jurassickpark3_lg",
};
new Map_Control;
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
new Map_Name[64];
get_mapname(Map_Name, 63);
for(new i; i < sizeof(Map_Names); i++)
{
if(equal(Map_Name, Map_Names[i]))
{
Map_Control = true;
break;
}
else
{
Map_Control = false;
}
}
}
public zp_round_started()
{
if(Map_Control)
{
new Players[32], Num_Alive_All, New_ID;
get_players(Players, Num_Alive_All, "achi");
for(new i; i < Num_Alive_All; i++)
{
New_ID = Players[i];
if(zp_get_user_zombie(New_ID))
{
zp_respawn_user(New_ID, ZP_TEAM_ZOMBIE);
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/