Changing a menu mod (background colors and text)

Closed
NaiRolF - Aug 9, 2016 at 08:55 AM
Hello everyone I was on vien forum to help me change a menu mod (colors) not famous I would like the background is black and red text and the scrollbar red thank you for helping me ^ ^ good day to you lines

[CODE]StoreShaders()
{
self.menu.background = self drawShader("white", 200, -50, 300, 500, (0, 0, 0), 0, 0);
self.menu.scroller = self drawShader("white", 200, -1000, 300, 17, (0.87, 0.003, 0.003), 256, 0);
self.menu.line = self drawShader(level.icontest, -3000, -50, 700, 500, (0.87, 0.003, 0.003), 0, 0);
}

StoreText(menu, title)
{
self.menu.currentmenu = menu;
string = "";
self.menu.title destroy();
//self.menu.title = drawText(title, "objective", 2, -1000, 30, (-1, 1, 1), 0, (0, 0.58, 1), 1, 3);
self.menu.title FadeOverTime(0.3);
self.menu.title.alpha = 1;

for(i = 0; i < self.menu.menuopt[menu].size; i++)
{ string += self.menu.menuopt[menu][i] + "\n"; }

self.menu.options destroy();
self.menu.options = drawText(string, "objective", 1.7, 140, 68, (1, 1, 1), 0, (0, 0, 0), 3, 257);
self.menu.options FadeOverTime(0.3);
self.menu.options.alpha = 1;
}
FlashingTheme()
{
for(;;)
{
self endon ("stopflash");
self.menu.line elemcolor(1, (1, 0, 0));
self.menu.backgroundinfo elemcolor(1, (1, 0, 0));
wait 1;
self.menu.line elemcolor(1, (0, 0, 1));
self.menu.backgroundinfo elemcolor(1, (0, 0, 1));
wait 1;
self.menu.line elemcolor(1, (0, 1, 0));
self.menu.backgroundinfo elemcolor(1, (0, 1, 0));
wait 1;
self.menu.line elemcolor(1, (1, 1, 0));
self.menu.backgroundinfo elemcolor(1, (1, 1, 0));
wait 1;
self.menu.line elemcolor(1, (1, 0, 1));
self.menu.backgroundinfo elemcolor(1, (1, 0, 1));
wait 1;
self.menu.line elemcolor(1, (0, 1, 1));
self.menu.backgroundinfo elemcolor(1, (0, 1, 1));
wait 1;
self.menu.line elemcolor(1, (0.87, 0.003, 0.003));
self.menu.backgroundinfo elemcolor(1, (0.87, 0.003, 0.003));
wait 1;
}
}
elemcolor(time, color)
{
self fadeovertime(time);
self.color = color;/CODE