What is MAX_PLAYERS and MAX_VEHICLES?
#7

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
Don't we undefined before we redefined?
Yes.

pawn Код:
#if defined MAX_PLAYERS
    #undef MAX_PLAYERS
    #define MAX_PLAYERS (200)
#endif

...

printf("%i", MAX_PLAYERS); // Will return the newly defined value, 200.
However, I believe all he was trying to do was show the predefined values (check Limits).
Reply


Messages In This Thread
What is MAX_PLAYERS and MAX_VEHICLES? - by R3SpaWn0 - 02.08.2018, 14:48
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Juvanii - 02.08.2018, 17:28
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Dayrion - 02.08.2018, 17:38
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by R3SpaWn0 - 02.08.2018, 19:17
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by ISmokezU - 02.08.2018, 22:21
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Unkovic - 02.08.2018, 22:39
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by GRiMMREAPER - 02.08.2018, 23:08
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Dayrion - 03.08.2018, 07:05
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by DBZdabIt3Bro7 - 03.08.2018, 17:07

Forum Jump:


Users browsing this thread: 2 Guest(s)