Large amx size
#10

I never use these constants in my script, I always use me own constants, because I really care about performance in my scripts.

So how can this be?

Edit:
After some research, I found out, that there's really a constant wich causes this problem, I will report wich one and why after having a closer look to it.


EditІ:
I found out, that it is a design fault in one of my includes:

#if !defined PLAYER_SLOTS

#define PLAYER_SLOTS MAX_PLAYERS

#endif

I didn't change my script, but the constants did, thanks for this advice.

Editі:
This is how I fixed it:

#undef MAX_PLAYERS

#define MAX_PLAYERS 20

I recommend to everybody who's using the MAX_PLAYERS constant to redefine it to a realistic value
Reply


Messages In This Thread
[SOLVED] Large amx size - by Cypog - 16.09.2010, 12:31
Re: Large amx size - by cessil - 16.09.2010, 12:32
Re: Large amx size - by Cypog - 16.09.2010, 12:38
Re: Large amx size - by JernejL - 16.09.2010, 12:43
Re: Large amx size - by Cypog - 16.09.2010, 12:48
Re: Large amx size - by Voldemort - 16.09.2010, 13:12
Re: Large amx size - by Cypog - 16.09.2010, 13:19
Re: Large amx size - by Voldemort - 16.09.2010, 13:31
Re: Large amx size - by Cypog - 16.09.2010, 13:54
Re: Large amx size - by Cypog - 16.09.2010, 14:02

Forum Jump:


Users browsing this thread: 2 Guest(s)