Post: AIO Base - Color options
12-11-2015, 01:40 AM #1
KrazyKandy
I am error
(adsbygoogle = window.adsbygoogle || []).push({}); Im using xTurntUpLobbies AIO menu base, and I want it so your able to change the Background, Text, Title and Scroller Color as an option in the menu.

- I was using this
    ChangeBackGroundPurple()
{
self _closeMenu();
self.AIO["background"] = createRectangle("LEFT", "CENTER", -380, 0, 0, 190, (0.502, 0, 0.502), "white", 1, 0);
}


But after changing it atleast 2 times a lot of the text gets deleted, and the menu just fucks up in all..
Any fix to this???
(adsbygoogle = window.adsbygoogle || []).push({});
12-11-2015, 04:33 AM #2
HiddenHour
I defeated!
Originally posted by KrazyKandy View Post
Im using xTurntUpLobbies AIO menu base, and I want it so your able to change the Background, Text, Title and Scroller Color as an option in the menu.

- I was using this
    ChangeBackGroundPurple()
{
self _closeMenu();
self.AIO["background"] = createRectangle("LEFT", "CENTER", -380, 0, 0, 190, (0.502, 0, 0.502), "white", 1, 0);
}


But after changing it atleast 2 times a lot of the text gets deleted, and the menu just fucks up in all..
Any fix to this???


Make a variable for the background color. Instead of deleting the shader and redrawing it, could you not just change the color directly?
12-13-2015, 08:00 PM #3
Looking at the AIO base source, he uses, this should work. Go into your hud.gsc and change the color codes for the things you want to change in the menu to something like this. self.AIO["bgcolor"]// for the background, remove the ( and ) for the color too, then go into your main.GSC and just below the menu name define, put self.AIO["bgcolor"] = (0,0,0); in there. Then for a function you could do as I show below.

    ChangeBGToBlue()
{
self endon("bg_changed");
self.AIO["bgcolor"] = (0,0,1);
self iprintlnbold("Menu background changed successfully");
}


That should work for what you want
12-13-2015, 10:24 PM #4
KrazyKandy
I am error
Originally posted by SpiritXero View Post
Looking at the AIO base source, he uses, this should work. Go into your hud.gsc and change the color codes for the things you want to change in the menu to something like this. self.AIO["bgcolor"]// for the background, remove the ( and ) for the color too, then go into your main.GSC and just below the menu name define, put self.AIO["bgcolor"] = (0,0,0); in there. Then for a function you could do as I show below.

    ChangeBGToBlue()
{
self endon("bg_changed");
self.AIO["bgcolor"] = (0,0,1);
self iprintlnbold("Menu background changed successfully");
}


That should work for what you want


Nice, cant wait to give it a try =)
12-13-2015, 11:35 PM #5
If it doesn't work let me know and i'll take a look. There's no reason it shouldn't though :P

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo