text word wrapping + color codes
#1

Before i reinvent the wheel, has any of you already written a pawn client message text word wrap splitter?

Like something that would split properly by word (and split really long continous lines aswell when appropriate ) AND also handle colour codes embedded in text, so that last color is passed over to new line and all other appropriate rules?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=475063
Does the job, except that it pushes .. at the start and end of the string, which is not in favor for everyone.
And by the source, as I understood it gives the color on the second parameter when line breaks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)