MAX_PLAYERS v. GetMaxPlayers()
#1

Apparently, something hit my head while scripting. I bumped into this thinking which is more efficient, GetMaxPlayers() or MAX_PLAYERS? By default MAX_PLAYERS is 500 (but can be changed) but wouldn't it create 500 instances of the variable? Is GetMaxPlayers() applicable as having 50 slots would only create 50 instances of it.
Код:
new playerInfo[MAX_PLAYERS][playerData];
Reply


Messages In This Thread
MAX_PLAYERS v. GetMaxPlayers() - by Neil. - 04.10.2014, 22:50
Re: MAX_PLAYERS v. GetMaxPlayers() - by Dignity - 04.10.2014, 23:06
Re: MAX_PLAYERS v. GetMaxPlayers() - by Neil. - 04.10.2014, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)