Answered Change Glow Color

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
Points
973
I want to make an option to change the glow color.
I've tried as much as I really could think of.
here is what I tried
62aa6225758d9f3a1a5475c77c12e449.png
 
G

Gentle

Guest
I want to make an option to change the glow color.
I've tried as much as I really could think of.
here is what I tried
62aa6225758d9f3a1a5475c77c12e449.png

Code:
ChangeGlow(r,g,b)
{
    self.glowColor(r,g,b);
    if(self.menu.open)
    {
        self updateScrollbar();
    }
}
try dat idk if it will work xD
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
Points
973
Code:
ChangeGlow(r,g,b)
{
    self.glowColor(r,g,b);
    if(self.menu.open)
    {
        self updateScrollbar();
    }
}
try dat idk if it will work xD
Lol I'll try in a min. Thanks for helping
 

TheHiddenHour

Veteran
Messages
58
Reaction score
49
Points
803
I want to make an option to change the glow color.
I've tried as much as I really could think of.
here is what I tried
62aa6225758d9f3a1a5475c77c12e449.png
Code:
changeGlowcolor(color)
{
    self.glowcolor = color;
}

//EXAMPLE
textElem changeGlowcolor((0,0,1));
//Replace textElem with the element you want to change.
//Replace (0,0,1) with the color you want
If you want to do it a better way you could just do something like this
Code:
menuGlowColor(color)
{
    textElem.glowcolor = color;
    textElem1.glowcolor = color;
    textElem2.glowcolor = color;
    //Replace textElem, textElem1, textElem2, etc with your hud elements
}

//Call in a menu like this
::menuGlowColor, (0,0,1));
 
Last edited:
G

Gentle

Guest
Code:
changeGlowcolor(color)
{
    self.glowcolor = color;
}

//EXAMPLE
textElem changeGlowcolor((0,0,1));
//Replace textElem with the element you want to change.
//Replace (0,0,1) with the color you want
If you want to do it a better way you could just do something like this
Code:
menuGlowColor(color)
{
    textElem.glowcolor = color;
    textElem1.glowcolor = color;
    textElem2.glowcolor = color;
    //Replace textElem, textElem1, textElem2, etc with your hud elements
}

//Call in a menu like this
::menuGlowColor, (0,0,1));
Gg
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
5,093
Reaction score
2,881
Points
1,103
Code:
changeGlowcolor(color)
{
    self.glowcolor = color;
}

//EXAMPLE
textElem changeGlowcolor((0,0,1));
//Replace textElem with the element you want to change.
//Replace (0,0,1) with the color you want
If you want to do it a better way you could just do something like this
Code:
menuGlowColor(color)
{
    textElem.glowcolor = color;
    textElem1.glowcolor = color;
    textElem2.glowcolor = color;
    //Replace textElem, textElem1, textElem2, etc with your hud elements
}

//Call in a menu like this
::menuGlowColor, (0,0,1));
Thats a good explanation :y:! Well done, sir.
 
Top