Post: [CODE] How To Change The Colour?
01-15-2011, 10:04 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Okay so this code is from ENZO-F V2 Patch. I added it into EliteMossy's V8 and it added okay. But I don't really like the yellow. I want it to be red but I don't actually know how to make it red. Here's the code...

    drawMenu( cycle, scroll )
{
menu = [[self.getMenu]]();
display = [];

if( menu.size > 2 ){
leftTitle = self createFontString( "objective", 2.0 );
leftTitle setPoint( "CENTER", "TOP", -230, 25 );
if( cycle-1 < 0 )
leftTitle setText( menu[menu.size - 1].name[0] );
else
leftTitle setText( menu[cycle - 1].name[0] );

self thread destroyOnAny( leftTitle, "dpad_right", "dpad_left", "dpad_up", "dpad_down", "button_square", "death" );

rightTitle = self createFontString( "objective", 2.0 );
rightTitle setPoint( "CENTER", "TOP", 230, 25 );
if( cycle > menu.size - 2 )
rightTitle setText( menu[0].name[0] );
else
rightTitle setText( menu[cycle + 1].name[0] );

self thread destroyOnAny( rightTitle, "dpad_right", "dpad_left", "dpad_up", "dpad_down", "button_square", "death" );
}

for( i = 0; i < menu[cycle].name.size; i++ ){
if(i < 1)
display[i] = self createFontString( "hudbig", 1 );
else
display[i] = self createFontString( "objective", 1.5 );

display[i] setPoint( "CENTER", "TOP", 0, i+20 + i*20 );

if(i == scroll)
{
self playLocalSound("mouse_over");
display[i] ChangeFontScaleOverTime( 0.35 );
display[i].fontScale = 1.9;
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowColor = ( 255, 255, 255 );
display[i].glowAlpha = 1;
display[i].color = ( 255, 255, 0 );
display[i] setText( menu[cycle].name[i] );
}
else
{
display[i] setText( menu[cycle].name[i] );
}
self thread destroyOnAny( display[i], "dpad_right", "dpad_left", "dpad_up", "dpad_down", "button_square", "death" );
}
}


I've tried changing the display.color = BLA BLA BLA and the glowColor BLA BLA BLA but it doesn't change anything -.-
Can someone please let me know how to change that menu (ENZO-F V2) to make it go red, or at least another colour!
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo