SA-MP Forums Archive
why does this happen ? "MAX_STRING" ? anyone can help ? - 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: why does this happen ? "MAX_STRING" ? anyone can help ? (/showthread.php?tid=122423)



why does this happen ? "MAX_STRING" ? anyone can help ? - AlbanianGuy - 21.01.2010

\gamemodes\newgm.pwn(83) : error 017: undefined symbol "MAX_STRING"
\gamemodes\newgm.pwn(83) : error 009: invalid array size (negative, zero or out of bounds)
\gamemodes\newgm.pwn(83) : error 036: empty statement
\gamemodes\newgm.pwn(83) : fatal error 107: too many error messages on one line






Re: why does this happen ? "MAX_STRING" ? anyone can help ? - Fedee! - 21.01.2010

Show us line 83.


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - Miguel - 21.01.2010

Top:
pawn Код:
#define MAX_STRING value // change "value" for the max size of the string...



Re: why does this happen ? "MAX_STRING" ? anyone can help ? - bluray - 22.01.2010

i think u need to change "value" to a number, did u read the comment


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - Calgon - 22.01.2010

Quote:
Originally Posted by bluray
i think u need to change "value" to a number, did u read the comment
He was telling him what to add.


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - AlbanianGuy - 22.01.2010

Quote:
Originally Posted by SAWC™
Top:
pawn Код:
#define MAX_STRING value // change "value" for the max size of the string...
can u be more specific , so i have to change the value ? what value , if ?


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - AlbanianGuy - 22.01.2010

Quote:
Originally Posted by SAWC™
Top:
pawn Код:
#define MAX_STRING 128 // change "value" for the max size of the string...
like this ?


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - Miguel - 23.01.2010

Yes!


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - AlbanianGuy - 23.01.2010

it doesnt work ..


Re: why does this happen ? "MAX_STRING" ? anyone can help ? - llama - 23.01.2010

Then show what is on line 83.