AMX Size
#6

Quote:
Originally Posted by Joe Staff
It mainly has to do with the includes' new definitions.

In 0.2x, MAX_PLAYERS was defined as 200, as found in a_samp.inc
In 0.3a and up, MAX_PLAYERS has been chaged to 500.

So now all of those definitions you have, i.e. 'PlayerInfo[MAX_PLAYERS];' have been increased by 2 and a half times.

These increases will cause your .amx file to be considerably larger.
I suspected that, however I don't use those defines from the SA:MP includes.
I use custom defines to suit my server, so that shouldn't be the problem.

EDIT:
Yes, InstabiC is right, I use "MAXP" when I need the maximum players (not the MAX_PLAYERS from a_samp.inc), and I don't use any others.

EDIT again:
Quote:
Originally Posted by Joe Staff
There are more defines than just MAX_PLAYERS, MAX_VEHICLES has been increased to 2000.

And you could just do:
pawn Code:
#undef MAX_PLAYERS
#define MAX_PLAYERS 32
Like I said, I don't use any other defines from the SA:MP includes.
Reply


Messages In This Thread
AMX Size - by ev0lution - 11.09.2009, 09:05
Re: AMX Size - by Joe Staff - 11.09.2009, 09:14
Re: AMX Size - by Rainmaker - 11.09.2009, 09:17
Re: AMX Size - by [LL]InstabiC - 11.09.2009, 09:19
Re: AMX Size - by Joe Staff - 11.09.2009, 09:20
Re: AMX Size - by ev0lution - 11.09.2009, 09:21
Re: AMX Size - by Joe Staff - 11.09.2009, 09:23
Re: AMX Size - by ev0lution - 11.09.2009, 09:26
Re: AMX Size - by Rainmaker - 11.09.2009, 09:27
Re: AMX Size - by ev0lution - 11.09.2009, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)