View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2014 , 10:49   Re: MOD PUG [YAP] - Yet Another PUG
Reply With Quote #10

Quote:
Originally Posted by kwpd View Post
due to large changes amxmodx 1.8.3
((MAX_PLAYERS define assocaited to get_players.))
tube to recheck all sma PUG
which I had to change many things MAX_PLAYERS which was not associated with get_payers xD
new players [32]: D
This is not really a major change.

MAX_PLAYERS is simple a define which is the max players + 1, so 33, because MAX_PLAYERS is always used this way to declare an array.

MaxClients is global variable which holds the servers max slots, basically the same as get_players().

But yeah, if you were defining MAX_PLAYERS to 32 to be used with get_players(), you better either to hardcode 32, or rename the define, it's kind of special case.
__________________
Arkshine is offline