Fixed all MAXPLAYERS+1 by replacing them with MAXPLAYERS + 1
This commit is contained in:
@ -20,7 +20,7 @@ enum WeaponsMenu
|
||||
/**
|
||||
* Array to store the client's current weapon menu
|
||||
*/
|
||||
new WeaponsMenu:curMenuWeapons[MAXPLAYERS+1];
|
||||
new WeaponsMenu:curMenuWeapons[MAXPLAYERS + 1];
|
||||
|
||||
/**
|
||||
* Sends main weapon menu to client.
|
||||
|
@ -19,7 +19,7 @@ new Handle:kvWeaponGroups = INVALID_HANDLE;
|
||||
/**
|
||||
* Array that stores the "HookID" to be later unhooked on player disconnect.
|
||||
*/
|
||||
new gCanUseHookID[MAXPLAYERS+1];
|
||||
new gCanUseHookID[MAXPLAYERS + 1];
|
||||
|
||||
/**
|
||||
* Query results returned when (un)restricting a weapon.
|
||||
|
Reference in New Issue
Block a user