SA-MP Forums Archive
Longer ? - 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: Longer ? (/showthread.php?tid=228018)



Longer ? - NewbBeginner - 18.02.2011

How to make chatbox going to second line.
like in chatbox:
Beginner: This is cool I want to make this going
to this line too

One message if too long goes to other line.


Re: Longer ? - OldDirtyBastard - 18.02.2011

pawn Код:
\n
The message you have entered is too short. Please lengthen your message to at least 4 characters.


Re: Longer ? - Zh3r0 - 18.02.2011

Quote:
Originally Posted by OldDirtyBastard
Посмотреть сообщение
pawn Код:
\n
The message you have entered is too short. Please lengthen your message to at least 4 characters.
Wrong.
SA-MP already has a function that cuts the text, which is integrated, there is no specific function for it.
This will be disabled if you return 0 on OnPlayerText and if you have a personal custom made text processing.


Re: Longer ? - NewbBeginner - 18.02.2011

How can I do it ?


Re: Longer ? - OldDirtyBastard - 18.02.2011

Oh yea, i missunderstood that, i thoud he wants to use that for simple client messages, but then i realized
that he wants to acutaly have his text auto cutted by typing into the chat...


Re: Longer ? - Mean - 18.02.2011

Someone already made this, search. I don't know correctly but I think it was made by RyDeR.


Re: Longer ? - NewbBeginner - 18.02.2011

yea, I know somebody already did it. also i searched RyDeR's started topics, he didn't made it.