Raising the letter count limit
#7

Quote:
Originally Posted by Homerman
Посмотреть сообщение
... I know. That's what I actually want.
BUT, when I reach the chat (in SAMP) length limit and send the form, it shows without the end, even when the second line is not full. On Los Santos RolePlay (I assume everybody heard about it) it's not like that, you can send a full chat form and it shows (in two lines, but shows full).
And that's what I want.

Splitted in two lines without cutting the end.
The end part of your text cuts off because the input limit of samp(the 'chat') is 128 characters, just like your string which is 128 cells big. But, that's not it, the input will also be used on the player's name. Let's assume your name is 12 characters long and you enter a full 128 character message, so that will be 12-128=116=the amount of characters you will be displayed on screen. You can resolve this by changing the string cells to: 128+MAX_PLAYER_NAME+3=155 (note: that the '3' is the star and 2 spaces in the string).
Reply


Messages In This Thread
Raising the letter count limit - by Homerman - 21.07.2011, 22:11
Re: Raising the letter count limit - by MadeMan - 21.07.2011, 22:26
Re: Raising the letter count limit - by [HiC]TheKiller - 21.07.2011, 22:29
Re: Raising the letter count limit - by Homerman - 21.07.2011, 22:33
Re: Raising the letter count limit - by Homerman - 21.07.2011, 22:53
Re: Raising the letter count limit - by MadeMan - 22.07.2011, 09:32
Re: Raising the letter count limit - by Adil - 22.07.2011, 15:57
Re: Raising the letter count limit - by Homerman - 23.07.2011, 12:56
Re: Raising the letter count limit - by Lvcnr - 23.07.2011, 14:22

Forum Jump:


Users browsing this thread: 7 Guest(s)