MAX_PLAYERS
#5

#define replaces something with something else.

So the only difference is:

pawn Код:
#define MAX_PLAYERS GetMaxPlayers()

new Score[MAX_PLAYERS];
would compile as

pawn Код:
new Score[GetMaxPlayers()];
and

pawn Код:
#define MAX_PLAYERS 500

new Score[MAX_PLAYERS];
would compile as

pawn Код:
new Score[500];
Try "Show preprocessed output" in PAWN Playground
Reply


Messages In This Thread
MAX_PLAYERS - by Kirollos - 16.08.2012, 00:31
Re: MAX_PLAYERS - by FireCat - 16.08.2012, 00:39
Re : MAX_PLAYERS - by pseudonyme - 16.08.2012, 01:55
Re: MAX_PLAYERS - by MP2 - 16.08.2012, 03:08
Re: MAX_PLAYERS - by MadeMan - 19.08.2012, 11:52

Forum Jump:


Users browsing this thread: 1 Guest(s)