Можно, пауза на Biohazard mod
pause("ac","biohazard.amxx")
Code
public player_killed(ent, attacker)
{
for(new id=1;id<g_maxplayers;id++)
{
if(is_user_alive(id))
return;
}
server_cmd("amx_map de_dust")
client_print(0, print_chat, "Все люди умерли! Смена карты началась!");
}
Code
public npc_killed(ent, attacker)
{
server_cmd("amx_map de_dust")
new className[32];
entity_get_string(ent, EV_SZ_classname, className, charsmax(className))
if(!equali(className, npc_classname) || !g_alive[ent])
return HAM_IGNORED;
g_alive[ent] = 0
Util_PlayAnimation(ent, ANIM_DEATH);
emit_sound(ent, CHAN_VOICE, g_AlienSound[0], VOL_NORM, ATTN_NORM, 0, PITCH_NORM)
remove_task(ent)
set_pev(ent, pev_solid, SOLID_NOT)
set_task(4.5, "npc_remove", ent)
entity_set_int(ent, EV_INT_iuser4, 1);
//cs_set_user_money(attacker, cs_get_user_money(attacker) + g_reward[ent])
//zp_set_user_ammo_packs(attacker, zp_get_user_ammo_packs(attacker) + random_num(40,60));
entity_set_int(g_pSprite, EV_INT_rendermode, kRenderTransTexture);
entity_set_float(g_pSprite, EV_FL_renderamt, 0.0);
client_print(0, print_chat, "Босс умер! Смена карты началась!");
return HAM_SUPERCEDE;
}
Code
public round_end()
{
remove_task(ALIEN_TASK)
remove_task(ALIEN_TASK1)
remove_task(ALIEN_TASK2)
remove_task(ALIEN_TASK3)
remove_task(ALIEN_TASK4)
g_game_start = false
server_cmd("amx_map de_dust")
}
Замените все коды.