SA-MP Forums Archive
Max_Players - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Max_Players (/showthread.php?tid=154383)



Max_Players - Gigi-The-Beast - 13.06.2010

Hello
I have a small question about the pawn compiler

I added to my script:
#undef MAX_PLAYERS
#define MAX_PLAYER 60

and after that the pawn compiler output isn't showing all info as before
here is a pic:

[img width=608 height=768]http://www.dodaj.rs/f/1q/qK/vnB3bH5/define.jpg[/img]

can you tell me why it isn't showing all?
Thanks


Re: Max_Players - Jefff - 13.06.2010

First picture is wrong, too many big arrays with 256 or more
Second is good but eliminate the warning


Re: Max_Players - Gigi-The-Beast - 13.06.2010

so it should only show:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

?


Re: Max_Players - Jefff - 13.06.2010

Yes sir


Re: Max_Players - Gigi-The-Beast - 13.06.2010

thanks for a fast reply
then i need to work on arrays


Re: Max_Players - Dark_Kostas - 13.06.2010

Because before every "new something[MAX_PLAYERS];" was meaning "new something[500];"
Now, after your define it means "new something[60];", which uses less memory.