Help with rgba2hex
#1

I have made one, this is the code.
pawn Код:
#define COLOR_NICE rgba2hex(77,177,127,227)
But I need the varieble to find the rgba2hex code. I searched and found nothing.
If I try to complie it. It says it doesn't find it.
pawn Код:
error 017: undefined symbol "rgba2hex"
Thank for helpers.
Reply
#2

Use:
Код:
new rgba2hex;
In the Top of the script.
Reply
#3

Bah. If you haven't knowloadge. Keep your replies awar.
Reply
#4

Convert the rgb code to hex using a program before you put it in the script
Reply
#5

You don't help me. I just need the function of rgb.
And which convert are you talking about? JankStaX
Reply
#6

There are hundreds of programs that convert rgb to hex, Why would you wanna do it in Pawn?
Reply
#7

Yes, I guess.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)