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



hex bug. - audriuxxx - 23.06.2013

Hi,

When you use more than 5 hex codes in one sendclientmessage, then you don't see the message.


Re: hex bug. - leong124 - 23.06.2013

Any example?
Btw, it's possibly because the whole messages (including those colour codes) is longer than 128 characters.


Re: hex bug. - audriuxxx - 23.06.2013

I talk about messages in sa-mp. Like:

Код:
SendClientMessageToAll(COLOR_GREEN,"{00FF01}*~~* Wanna weapons, drugs - {DA881A}(/call drugs dealers), {00FF01}weapons - {DA881A}(/call weapons seller) {00FF01}*~~*");
And i don't get this message, when i remove some hex codes, then i get this message. I think it's sa-mp bug, and devoulper shoud fix it.

Sorry for my bad English.


Re: hex bug. - leong124 - 23.06.2013

Do you mean the whole message disappears?


Re: hex bug. - MP2 - 23.06.2013

Quote:
Originally Posted by leong124
Посмотреть сообщение
Any example?
Btw, it's possibly because the whole messages (including those colour codes) is longer than 128 characters.
Common misconception: CHAT INPUT has a limit of 128 characters; client messages can be up to 144 characters.

But yes, every colour you use adds 8 characters so use them sparingly (3 per SCM) or find other ways to display information (i.e. textdraws).