public cmd_box(id) { static i if((id < 0) || (is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_CT)) { new cv_boxmax=get_pcvar_num(gp_BoxMax); if(g_TeamAlive[CS_TEAM_T] <= cv_boxmax && g_TeamAlive[CS_TEAM_T] > 1) { for(i = 1; i <= g_MaxClients; i++) if(is_user_alive(i) && cs_get_user_team(i) == CS_TEAM_T) set_user_health(i, 100) set_cvar_num("mp_tkpunish", 0) set_cvar_num("mp_friendlyfire", 1) g_BoxStarted = 1 player_hudmessage(0, 1, 3.0, _, "%L", LANG_SERVER, "Terroryści mogą walczyć!") } else { player_hudmessage(id, 1, 3.0, _, "%L", LANG_SERVER, "Terroryści nie mogą już walczyć!") } } return PLUGIN_HANDLED }