SA-MP Forums Archive
Need quick help with text length - 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 quick help with text length (/showthread.php?tid=567359)



Need quick help with text length - Sc0pion - 13.03.2015

Fixed!


Re: Need quick help with text length - Gammix - 13.03.2015

Just increase the string size. For example:
Quote:

new string[128];

TO
Quote:

new string[256];




Re: Need quick help with text length - CalvinC - 13.03.2015

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Just increase the string size. For example:

TO
Client messages can be a maximum of 128 characters long.

But make sure your array has 128 cells, otherwise you'll probably have to split it into 2 messages, or just make it shorter.


Re: Need quick help with text length - HY - 13.03.2015

As @CalvinC said, client messages length can maximum have 128 characters lenght.
You have 118 characters, so you can add 10 characters.