SA-MP Forums Archive
Need more than 128 - 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)
+--- Thread: Need more than 128 (/showthread.php?tid=483181)



Need more than 128 - Battlezone - 24.12.2013

Hi, i simply need more than 128 characters length for a string, what shall i do? :S


Re: Need more than 128 - SilentSoul - 24.12.2013

Normal string ? like that string[128]; change to the amount of letters you want string[1024 ]; but don't exceed the maximum amount limits 1024 - https://sampwiki.blast.hk/wiki/Limits , or you mean on Global chat , dialogs,etc.. ?


Re: Need more than 128 - Battlezone - 24.12.2013

Well i cant explain it for you, but if you can please enter my server ill show you the system its very complicated


Re: Need more than 128 - doreto - 24.12.2013

No, either you post your code or don't post at all.


Re: Need more than 128 - Battlezone - 24.12.2013

here is the code that i kept 128
Код:
new room1topic[128];
new room1reply[128];
Sorry for forgetting it.
And by the way its solved there is no other solutionfor the problem, samp team must deal with this.


Re: Need more than 128 - Konstantinos - 24.12.2013

The max lenght for client message is 144. Other things such as dialogs, queries can get higher lenght.


Re: Need more than 128 - Battlezone - 24.12.2013

ok guys thanks, i will post the code as tomorrow when i release the FS, im very sorry i cant post it now :/


Re: Need more than 128 - BizzyD - 24.12.2013

Код:
new room1topic[CHANGETHIS];
new room1reply[CHANGETHIS];
Change it to desired characters.