Skip to content

Commit

Permalink
Exclude bots from RTV command
Browse files Browse the repository at this point in the history
  • Loading branch information
FEDERICOMB96 committed Jan 8, 2024
1 parent bcc8b0b commit bae0d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/amxmodx/scripting/include/mm_incs/rockthevote.inc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public ClientCommand_RockTheVote(const id)
return PLUGIN_HANDLED;
}

new iPlayersNum = get_playersnum();
new iPlayersNum = get_playersnum_ex(GetPlayers_ExcludeBots);

if(g_GlobalConfigs[RTV_MinPlayers] && (iPlayersNum < g_GlobalConfigs[RTV_MinPlayers]))
{
Expand Down

0 comments on commit bae0d7b

Please sign in to comment.