when I use more than one color in a hud mutator like that
C.DrawColor.R = 255;
C.DrawColor.G = 0;
C.DrawColor.B = 0;
C.setpos(X1,Y1);
C.drawtext("text1");
C.DrawColor.R = 0;
C.DrawColor.G = 255;
C.DrawColor.B = 0;
C.setpos(X2,Y1);
C.drawtext("text2");
the colors are mixed up, upper half of the text is of the first color and the lower half of the second color. whats wrong ? how to use multiple colors ?
C.DrawColor.R = 255;
C.DrawColor.G = 0;
C.DrawColor.B = 0;
C.setpos(X1,Y1);
C.drawtext("text1");
C.DrawColor.R = 0;
C.DrawColor.G = 255;
C.DrawColor.B = 0;
C.setpos(X2,Y1);
C.drawtext("text2");
the colors are mixed up, upper half of the text is of the first color and the lower half of the second color. whats wrong ? how to use multiple colors ?