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
ChangeGlow(r,g,b)
{
self.glowColor(r,g,b);
if(self.menu.open)
{
self updateScrollbar();
}
}
Lol I'll try in a min. Thanks for helpingtry dat idk if it will work xDCode:ChangeGlow(r,g,b) { self.glowColor(r,g,b); if(self.menu.open) { self updateScrollbar(); } }
Nah. That gives me and error.Code:ChangeGlow(r,g,b) { self.glowColor(r,g,b); if(self.menu.open) { self updateScrollbar(); } }
well I tried xDNah. That gives me and error.
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
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
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));
GgIf you want to do it a better way you could just do something like thisCode: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
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 ! Well done, sir.If you want to do it a better way you could just do something like thisCode: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
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));
When your first post already gets likesThats a good explanation ! Well done, sir.
When your first post already gets likes
LelWhen your first post already gets likes