Quote:
Originally Posted by PawnoQ
hi,
is it possible to define a dynamic integer?
Like that somehow?
pawn Код:
//lets say i store my number of the players currently in the server in PlayerCount Variable new integer[PlayerCount];
this gives me error so is there a getaround?
+rep, thanks 
|
Why? I believe that's too advance, when you could redefine
MAX_PLAYERS and change the value (500 - default) to the server slot you have, example code below.
pawn Код:
#if defined MAX_PLAYERS
#undef MAX_PLAYERS
#else
#define MAX_PLAYERS (30) //For example 30 slots.
#endif