Need { } for the message to show
#1

Hello,

I need to add something like "{FFFFFF}" to SendClientMessage in order for it to show,
This can be quite annoying as i dont want to do that all the time,
Is it intentional in 0.3c or is it a bug?
I would just like to know ty
Reply
#2

Doesn't happend to me, show us what code you're using....
Reply
#3

pawn Код:
SendClientMessage(playerid, 0xFFFFFFAA, "For a list of commands please use /debug commands");
I need to add {88AA88} for it to show ingame
Reply
#4

color embedding is optional in the next sa-mp release....

if you want to adde some try this

Quote:

SendClientMessage(playerid, 0xFFFFFFAA, "For a list of commands please use {"#88AA88"} /debug commands");

Reply
#5

The original colour in the sendclientmessage seems to be transparent (if I understood the hex code right)
Reply
#6

No matter the color code it never shows, The text dosent move up so its actulley not showing,
Like if i repeated that line 10 times it wouldnt clear that.
Reply
#7

SendClientMessage(playerid, 0xFFFFFFAA, "{88AA88}Colored Text");
Reply
#8

pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF, "Text");
Reply
#9

Quote:
Originally Posted by Flyfishes
Посмотреть сообщение
pawn Код:
SendClientMessage(playerid, 0xFFFFFFFF, "Text");
Replace the AA at each color with FF, that way you will make the colors visible.

The last two chars in the hex code are alpha which would be something like the opacity.
Reply
#10

just do SendClientMessage(playerid,COLOR_WHITE,"Something Here");
im sure you got some colors defines (instead of COLOR_WHITE you need to write according to your defines)...
and if you want to color the line in different color do something like this...
SendClientMessage(playerid,COLOR_WHITE,"Something {98fb98}Here");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)