Home   Help Search Login Register  

Author Topic: need code for pink text :D  (Read 620 times)

0 Members and 1 Guest are viewing this topic.

illmatic

  • Guest
need code for pink text :D
« on: 03 Feb 2004, 17:51:58 »
             text="[HOMICIDE V1.0]";
         colorText[]={F.F.3.3.9.9};
         font="TahomaB48";
         size=2;
             x=0.1;
             y=0.9;
             w=0.8;
             h=0.1;

just a snippet from my des.ext, anyone no the code for pink!!?!?!!? ty if u know it!!!!  8) 8) 8)

Offline Welshmanizer

  • Members
  • *
Re:need code for pink text :D
« Reply #1 on: 03 Feb 2004, 20:33:44 »
The syntax of colorText[] is as follows:

colorText[]={R,G,B,A};

R = Intensity of Red (0 to 1)
G = Intensity of Green  (0 to 1)
B = Intensity of Blue (0 to 1)
A = Alpha: the opacity of the color (0 to 1). 0 is fully transparent, 1 is fully opaque.

Therefore, as pink equals Red + Blue, pink will be:

colorText[]={1,0,1,1};

Alter the vaues of R and B for different shades.

illmatic

  • Guest
Re:need code for pink text :D
« Reply #2 on: 03 Feb 2004, 21:26:50 »
ty, works perfect for my pimp script