Auto respawn everyone [ZP] Jun 5, 2017 15:58:05 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by hardy on Jun 5, 2017 15:58:05 GMT I need a Plugin that will respawn everyone dead in zombie server as Zombies..It should be controlled by command not auto like it will respawn everyone just by writing amx_respawnall or amx_respawn_all
Auto respawn everyone [ZP] Jun 5, 2017 16:43:04 GMT via mobile Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Jun 5, 2017 16:43:04 GMT Zp already has that feature u don't need separate Plugin for it Just go to zombie_plague.cfg and in death match settings
Auto respawn everyone [ZP] Jun 5, 2017 17:01:44 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by hardy on Jun 5, 2017 17:01:44 GMT no.. I mean that when new user join i am talking about them.
Auto respawn everyone [ZP] Jun 5, 2017 18:01:42 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by $h@DoW on Jun 5, 2017 18:01:42 GMT Jun 5, 2017 17:01:44 GMT hardy said:no.. I mean that when new user join i am talking about them.I am also talking about same ! Do the settings in zombie_plague.cfg
Auto respawn everyone [ZP] Jun 5, 2017 23:04:17 GMT RaDNoX likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Jun 5, 2017 23:04:17 GMT #include <amxmodx>#include <amxmisc>#include <zombieplague>public plugin_init(){ register_plugin("[ZP] Respawn All Dead Players", "1.0", "Abed") register_clcmd("amx_respawnall", "Spawn_all", ADMIN_RCON) register_clcmd("amx_respawn_all", "Spawn_all", ADMIN_RCON)}public Spawn_all(id, level, cid){ if(!cmd_access(id, level, cid, 0)) return PLUGIN_HANDLED for (new i = 1; i <= get_maxplayers(); i++) { if (!is_user_connected(i)) continue; if(is_user_alive(i)) continue; zp_respawn_user(i, ZP_TEAM_ZOMBIE) } return PLUGIN_HANDLED}
Auto respawn everyone [ZP] Jun 5, 2017 23:07:08 GMT RaDNoX likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abed on Jun 5, 2017 23:07:08 GMT for zp50 auto respawn on connect(infections modes only)for zp4.3 you can search on alliedmodders#include <amxmodx>#include <cstrike>#include <zp50_gamemodes>#include <zombieplague>#define validTeam(%1) (1 <= get_user_team(%1) <= 3)new g_NormalID, g_MultiInfectionIDpublic plugin_init(){ register_plugin("[ZP] Connect - Respawn", "1.1", "ILUSION & Abed")}public plugin_cfg(){ g_NormalID = zp_gamemodes_get_id("Infection Mode") g_MultiInfectionID = zp_gamemodes_get_id("Multiple Infection Mode")}public client_putinserver(id){ set_task(10.0, "SpawnUser", id, _, _, "b")}public SpawnUser(id){ if(is_user_connected(id)) { if(!is_user_alive(id)) { if(validTeam(id) && (zp_gamemodes_get_current() == g_NormalID || zp_gamemodes_get_current() == g_MultiInfectionID)) { zp_respawn_user(id, ZP_TEAM_ZOMBIE) } } }}
Auto respawn everyone [ZP] Jul 18, 2022 0:45:05 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by teNsk- on Jul 18, 2022 0:45:05 GMT Hello @abed can you make this if last human alive zombies cant respawn?
Auto respawn everyone [ZP] Jul 20, 2022 20:24:03 GMT via mobile teNsk- likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by Abhinash ( Bboy NeO ) on Jul 20, 2022 20:24:03 GMT Jul 18, 2022 0:45:05 GMT teNsk- said:Hello @abed can you make this if last human alive zombies cant respawn?Just add a check if last human then don't respawn.
Auto respawn everyone [ZP] Jul 21, 2022 0:20:37 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by teNsk- on Jul 21, 2022 0:20:37 GMT Done if anyone want#include <amxmodx>#include <cstrike>#include <zp50_gamemodes>#include <zombieplague>#define validTeam(%1) (1 <= get_user_team(%1) <= 3)new g_NormalID, g_MultiInfectionIDnew cvar_respawn_after_last_humanpublic plugin_init(){ register_plugin("[ZP] Connect - Respawn", "1.1", "ILUSION & Abed")}public plugin_precache(){ cvar_respawn_after_last_human = register_cvar("zp50_respawn_after_last_human", "0")}public plugin_cfg(){ g_NormalID = zp_gamemodes_get_id("Infection Mode") g_MultiInfectionID = zp_gamemodes_get_id("Multiple Infection Mode")}public client_putinserver(id){ set_task(5.0, "SpawnUser", id, _, _, "b")}public SpawnUser(id){ if(is_user_connected(id)) { if(!is_user_alive(id)) { if(validTeam(id) && (zp_gamemodes_get_current() == g_NormalID || zp_gamemodes_get_current() == g_MultiInfectionID)) { if (!get_pcvar_num(cvar_respawn_after_last_human) && zp_core_get_human_count() == 1) return PLUGIN_HANDLED; zp_respawn_user(id, ZP_TEAM_ZOMBIE) } } } return PLUGIN_CONTINUE;}
Auto respawn everyone [ZP] Jul 21, 2022 21:30:53 GMT teNsk- likes this Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ShaunCraft15 on Jul 21, 2022 21:30:53 GMT try this but with all zp50 natives#include <amxmodx>#include <cstrike>#include <zp50_gamemodes>#include <zp50_core>new g_NormalID, g_MultiInfectionIDnew cvar_respawn_after_last_human, cvar_spawn_timepublic plugin_init(){ register_plugin("[ZP] Connect - Respawn", "1.1", "ILUSION & Abed")}public plugin_precache(){ cvar_respawn_after_last_human = register_cvar("zp_respawn_after_last_human", "0") cvar_spawn_time = register_cvar("zp_respawn_delay", "5.0")}public plugin_cfg(){ g_NormalID = zp_gamemodes_get_id("Infection Mode") g_MultiInfectionID = zp_gamemodes_get_id("Multiple Infection Mode")}public client_putinserver(id){ set_task(get_pcvar_float(cvar_spawn_time), "SpawnUser", id, _, _, "b")}public SpawnUser(id){ if(is_user_connected(id)) { if(!is_user_alive(id)) { if(validTeam(id) && (zp_gamemodes_get_current() == g_NormalID || zp_gamemodes_get_current() == g_MultiInfectionID)) { if (!get_pcvar_num(cvar_respawn_after_last_human) && zp_core_get_human_count() == 1) return PLUGIN_HANDLED; zp_core_respawn_as_zombie(id, true) } } } return PLUGIN_CONTINUE;}stock validTeam(id) return (1 <= get_user_team(id) <= 3)
Auto respawn everyone [ZP] Jul 21, 2022 21:34:49 GMT Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by ShaunCraft15 on Jul 21, 2022 21:34:49 GMT ZP43 Version#include <amxmodx>#include <cstrike>#include <zombieplague>new cvar_respawn_after_last_human, cvar_spawn_timepublic plugin_init(){ register_plugin("[ZP] Connect - Respawn", "1.1", "ILUSION & Abed")}public plugin_precache(){ cvar_respawn_after_last_human = register_cvar("zp_respawn_after_last_human", "0") cvar_spawn_time = register_cvar("zp_respawn_delay", "5.0")}public client_putinserver(id){ set_task(get_pcvar_float(cvar_spawn_time), "SpawnUser", id, _, _, "b")}public SpawnUser(id){ if(is_user_connected(id)) { if(!is_user_alive(id)) { if(validTeam(id) && zp_has_round_started()) { if (!get_pcvar_num(cvar_respawn_after_last_human) && zp_get_human_count() == 1) return PLUGIN_HANDLED; if(zp_is_nemesis_round() || zp_is_survivor_round() || zp_is_swarm_round() || zp_is_plague_round()) return PLUGIN_HANDLED; zp_respawn_user(id, ZP_TEAM_ZOMBIE) } } } return PLUGIN_CONTINUE;}stock validTeam(id) return (1 <= get_user_team(id) <= 3)