Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Commit aec8a8f

Browse files
CleversonCleverson
authored andcommitted
Use MAX_PLAYERS
Used MAX_PLAYERS instead of 32
1 parent a0a897c commit aec8a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/amxmodx/scripting/PugCS.sma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public fnSetClientTeam()
134134

135135
public fnGetPlayers()
136136
{
137-
new iPlayers[32],iNum,iCount = 0;
137+
new iPlayers[MAX_PLAYERS],iNum,iCount = 0;
138138
get_players(iPlayers,iNum,get_param(1) ? "h" : "ch");
139139

140140
for(new i;i < iNum;i++)

0 commit comments

Comments
 (0)