We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebba390 commit 81d951cCopy full SHA for 81d951c
1 file changed
cstrike/addons/amxmodx/scripting/include/map_manager_stocks.inc
@@ -58,7 +58,7 @@ stock get_players_num(ignore = 0)
58
}
59
new pnum;
60
for(new i = 1; i <= maxplayers; i++) {
61
- if(ignore && i == ignore
+ if(ignore > 0 && i == ignore
62
|| !is_user_connected(i)
63
|| is_user_bot(i)
64
|| is_user_hltv(i)) {
@@ -67,7 +67,7 @@ stock get_players_num(ignore = 0)
67
68
if(ignore == -1) {
69
new team = get_user_team(i);
70
- if(team == 0 || team == 4) {
+ if(team == 0 || team == 3) {
71
continue;
72
73
0 commit comments