• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Colour Embedding Issue
#1
It seems that there's a bug with colour embedding, whether it be dialogs or chat text.



It seems the colour is "leaking" into the next word in which a colour has already been set for.



[Image: unknown.png]
  Reply
#2
Huh? Show the code please..colors are kept after \n fyi
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply
#3
Code:
CMD:colortest(playerid, params[])

{

? ? ShowPlayerDialog(playerid, DIALOG_COLORTEST, DIALOG_STYLE_MSGBOX, "{DCC176}Community - Accepting the rules", "{FFFFFF}When registering this account on the server, you need to\nconfirm that you have read the rules of the community.\nCheck them out on this link: {4682b4}www.adress.com/rules", "confirm", "back");

}





The multiple colours was just a test. This script here, the w (At the start of www.) is white, instead of steel blue as defined.
  Reply
#4
Weird. Try putting the colour embedding before the space and see if that "fixes" it
  Reply


Forum Jump: