SA-MP Forums Archive
Max input in dialog. - 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: Max input in dialog. (/showthread.php?tid=602905)



Max input in dialog. - ScIrUsna - 15.03.2016

Hi,

What longest message i can write in one line \n ?


Re: Max input in dialog. - JaKe Elite - 15.03.2016

I believe it is around 128. Watch out for an error caused by the lines being lone (Recommendation; Use strcat)


Re: Max input in dialog. - MicroKyrr - 15.03.2016

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
I believe it is around 128. Watch out for an error caused by the lines being lone (Recommendation; Use strcat)
Off topic: Are you from philippines? I have watched your video.


Re: Max input in dialog. - Stev - 15.03.2016

I'm pretty sure Jake is correct, Going by this: https://sampwiki.blast.hk/wiki/Limits


Re: Max input in dialog. - dominik523 - 15.03.2016

It's all on the wiki under SendClientMessage:
pawn Код:
If a message is longer than 144 characters, it will not be sent. Truncation can be used to prevent this. Displaying a message on multiple lines will also solve this issue.