bump.
In fact, the first part of the plugin works well,:
PHP Code:
if((get_playersnum_ex(GetPlayers_ExcludeDead | GetPlayers_MatchTeam, "TERRORIST") == 1)) {
server_cmd("amx_pausecfg pause puginname.amxx")
}
but the second part has a problem:
PHP Code:
else if(((get_playersnum_ex(GetPlayers_ExcludeDead | GetPlayers_MatchTeam, "TERRORIST") != 1)) || (get_playersnum_ex(GetPlayers_ExcludeDead | GetPlayers_MatchTeam, "CT") == 0)) {
server_cmd("amx_pausecfg enable puginname.amxx")
}
The problem with the second part is that you have to wait until someone from the CT team Die to make the plugin work.
Can Someone Fix it? Thanks