Color in SendClientMessage.
#1

How could I do what I am trying to say here:

pawn Код:
SendClientMessage(playerid, "You turned your vehicle (Green here)ON.");
How could I add the green text there? and same for this:

pawn Код:
SendClientMessage(playerid, "You turned your vehicle (Red here)OFF.");
Thanks in advance.
Reply
#2

Quote:
Originally Posted by getty154
Посмотреть сообщение
How could I do what I am trying to say here:

pawn Код:
SendClientMessage(playerid, "You turned your vehicle (Green here)ON.");
How could I add the green text there? and same for this:

pawn Код:
SendClientMessage(playerid, "You turned your vehicle (Red here)OFF.");
Thanks in advance.
Код:
SendClientMessage(playerid, "You turned your vehicle {6EF83C}ON.");
Код:
SendClientMessage(playerid, "You turned your vehicle {F81414}OFF.");
Reply
#3

Quote:
Originally Posted by LuxurioN™
Посмотреть сообщение
Код:
SendClientMessage(playerid, "You turned your vehicle {6EF83C}ON.");
Код:
SendClientMessage(playerid, "You turned your vehicle {F81414}OFF.");
Thank you mate, got it!
Reply
#4

LuxurioN said it all. I only want to tell you you can just put any heximal color number in brackets: { }

pawn Код:
SendClientMessage(playerid, color, "{F81414} Hey :)");
http://www.colorschemer.com/online.html

Edit: lol, didn't see your last post :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)