Problem with string sizes
#7

The reason for that is because the whole "(Staff Chat) 1337 Administrator Test Eend: " is taking up 43 spaces in your limit of 128 characters in the messages, because the greatest length that any message can be in SA-MP Global Chat is 128 characters (I think). To view in the chat. So in order to fix your problem. I suggest re naming your Chat. So
(1337 Staff Chat): That will allow you to type more before it gets cut off.

That's also why when creating a message to display on global chat you always allow no more than 128 characters; new string[128]; or string[50]; not string[503]; < 503 is completely unnecessary as you won't be able to use 503 characters in one line in SA-MP Global Chat.
Reply


Messages In This Thread
Problem with string sizes - by justjamie - 08.09.2016, 08:21
Re: Problem with string sizes - by TORKQ - 08.09.2016, 11:00
Re: Problem with string sizes - by justjamie - 08.09.2016, 13:44
Re: Problem with string sizes - by justjamie - 09.09.2016, 09:31
Re: Problem with string sizes - by zT KiNgKoNg - 09.09.2016, 10:17
Re: Problem with string sizes - by justjamie - 10.09.2016, 17:10
Re: Problem with string sizes - by Tass007 - 11.09.2016, 05:44
Re: Problem with string sizes - by SickAttack - 11.09.2016, 07:03
Re: Problem with string sizes - by justjamie - 11.09.2016, 10:24
Re: Problem with string sizes - by FreAkeD - 11.09.2016, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)