Question info: MAX_PLAYERS
#1

in some variables, etc, i have MAX_PLAYERS, and in the gamemode i have definied this,

PHP код:
#undef MAX_PLAYERS
#define MAX_PLAYERS (10) // My slots 
is necessary ? ...
Reply
#2

It is not necessary but optimizes your script a bit.
Reply
#3

With that code, whenever MAX_PLAYERS is used in your script, it will use 10, that define was used to change the default max players (500) to whatever number to save memory.
Reply
#4

Ok, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)