SA-MP Forums Archive
Maxium String Size of Player Message to small? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Maxium String Size of Player Message to small? (/showthread.php?tid=242844)



Maxium String Size of Player Message to small? - KaleOtter - 20.03.2011

Ey I noticed that I only can use like 128 characters in one message.
This wasn't on 0.3b and 0.3a right? Because it's annoying me as hell.
So is this just a mistake of me in my script? or did sa-mp decreased the stringsize of messages?
And if sa-mp decreased the string size then I suggest them to rise it again. But I couldn't find a board for suggestions so I thought this was the best board the post it.

Regards Kale Otter


Re: Maxium String Size of Player Message to small? - bigcomfycouch - 20.03.2011

i/o has been 128


Re: Maxium String Size of Player Message to small? - KaleOtter - 20.03.2011

Yea I know, but was this also in 0.3a/0.3b ?
Because in 0.3a it never did not send my text when I was over 128 character I thought.


Re: Maxium String Size of Player Message to small? - Vince - 20.03.2011

Chat I/O has always been 128 characters and it has never changed. Refer to the limits


Re: Maxium String Size of Player Message to small? - KaleOtter - 20.03.2011

Ow well, it should be changed because if you use colour embedding the string will be 128 to fast...
I cannot even send this message when a reason longer then 5 characters.
Code:
format(pS[String],StringSize,"{B00000}You have been [{FFFFFF}frozen{B00000}] by [{FFFFFF}%s{B00000}]. Reason [{FFFFFF}%s{B00000}].",pS[UserName],pS[AdminReason]);
					SendClientOOCMessage(targeid,pS[String]);



Re: Maxium String Size of Player Message to small? - KaleOtter - 20.03.2011

So my bug report is simple.
Don't count the {} color embedding in the string when the message get send...


Re: Maxium String Size of Player Message to small? - WackoX - 20.03.2011

Then don't add color embedding, and you do have to count the RGB colors to the length of the string.