hexa decimal
#1

Can i use hexadecimal color codes in
pawn Код:
SendClientMessage(bla, COLOR_BLA " {hexa code} blah blah {other hexa code} blah blah blah...
Reply
#2

pawn Код:
SendClientMessage(bla, COLOR_BLA " {FF0000} blah blah {00FF00} blah blah blah...
You can. I just gave you an example of red and blue. Use the format RGB, not RGBA.
Reply
#3

Thanks , i know color codes already
Reply
#4

So, what exactly do you want to know then?
Reply
#5

Just wanted to know if i can write h.d.codes in pawn
Reply
#6

Quote:
Originally Posted by Grand_Micha
Посмотреть сообщение
You can.
I guess...well.
Reply
#7

You can also define them for easy use later on

pawn Код:
#define INLINE_BLACK "{000000}"

//blablabla

SendClientMessage(playerid, COLOR_RED, "Hello, this is in red "INLINE_BLACK"and this is in black.");
Reply
#8

Thanks rep + for u guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)