A simple color question
#1

A simple question, how to change color of of only single word in ^sendclientmessage"sentence in pawno? only single word not whole line. can anyone tell me?
Reply
#2

PHP код:
SendClientMessage(playerid,COLOR_RED,""RED"Here"WHITE" You Example for "GREEN"Color text!"); 
define colors
PHP код:
#define COLOR_GREEN 0x00FF00FF
#define COLOR_RED 0xFF0000FF
#define COLOR_BLUE 0x0000FFFF
if they dont work try this 
#define RED "{F81414}"
#define GREEN "{00FF22}"
#define BLUE "{0025E1}" 
Reply
#3

it will work?
Reply
#4

no, it won't

pawn Код:
#define RED "{FF0000}"
#define WHITE "{FFFFFF}"

SendClientMessage(playerid, -1, "Hello "#RED"there "#WHITE", how are you?");
Reply
#5

yea i test before post :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)