Post: delete
10-28-2015, 11:44 PM #1
KrazyKandy
I am error
(adsbygoogle = window.adsbygoogle || []).push({}); - Delete -
(adsbygoogle = window.adsbygoogle || []).push({});
10-29-2015, 02:17 AM #2
xPlayer420
Bounty hunter
Post your StoreText it might help Smile
10-29-2015, 03:23 AM #3
HiddenHour
I defeated!
Make a function that uses fadeOverTime(time) and
    "color variable here" = color here
10-29-2015, 03:47 AM #4
KrazyKandy
I am error
Originally posted by xPlayer420 View Post
Post your StoreText it might help Smile


StoreText(menu, title)
{
string = "";
self.menu.currentmenu = menu;

if(self.COD7DecodeFX)
{
self.menu.title clear(self);
self.menu.title = createText("objective", 2.3, "CENTER", "TOP", 280, 30, 3, (1, 1, 1), 1, (.2, 0, 0), 1, title);
self.menu.title setCOD7DecodeFX( 200, int(10000*1000), 600 );
self.menu.title setPulseFX( 200, int(10000*1000), 1000 );

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

self.menu.options clear(self);
self.menu.options = createText("objective", 1.6, "CENTER", "TOP", 330, 60, 4, (1, 1, 1), 0, (0, 0, 0), 0, string);
self.menu.options startTxtHUDs(.3, 1, 280);
}
else
{
self.menu.title clear(self);
self.menu.title = createText("objective", 2.3, "CENTER", "TOP", 330, 30, 3, (1, 1, 1), 0, (.2, 0, 0), 1, title);
self.menu.title startTxtHUDs(.3, 1, 280);

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

self.menu.options clear(self);
self.menu.options = createText("objective", 1.6, "CENTER", "TOP", 330, 60, 4, (1, 1, 1), 0, (0, 0, 0), 0, string);
self.menu.options startTxtHUDs(.3, 1, 280);
}
self.menu.scroller.x = 370;
self.menu.scroller elemMoveX(0.3, 320 );
}
10-29-2015, 03:54 AM #5
KrazyKandy
I am error
Originally posted by TheHiddenHour View Post
Make a function that uses fadeOverTime(time) and
    "color variable here" = color here


I'm sorry, but that doesn't help me. I need like a quikc tut :p
10-29-2015, 04:07 AM #6
HiddenHour
I defeated!
Originally posted by KrazyKandy View Post
I'm sorry, but that doesn't help me. I need like a quikc tut :p


Go to You must login or register to view this content. and look for fadeOverTime.

Something like "self.hud.background.color" would be the color of your menu's background. You need to find out what it is.
So if you wanted to change the color of something, you could use
    self.something.color fadeOverTime(0);//0 = instant in seconds
self.something.color = (0, 0, 1);//blue

The following user thanked HiddenHour for this useful post:

KrazyKandy
10-29-2015, 04:16 AM #7
KrazyKandy
I am error
Originally posted by TheHiddenHour View Post
Go to You must login or register to view this content. and look for fadeOverTime.

Something like "self.hud.background.color" would be the color of your menu's background. You need to find out what it is.
So if you wanted to change the color of something, you could use
    self.something.color fadeOverTime(0);//0 = instant in seconds
self.something.color = (0, 0, 1);//blue


This is the only place I can find anything with fadeOverTime

Originally posted by another user
self.menu.title clear(self);
self.menu.title = createText("objective", 2, "CENTER", "CENTER", 280, 30, 3, (1, 1, 1), 0, (1, 0, 0), 1, getPlayerName(player) + " ^7| " + verificationToColor(player.AccessLevel));
self.menu.title FadeOverTime(0.3);
self.menu.title.alpha = 1;
10-29-2015, 04:19 AM #8
HiddenHour
I defeated!
Originally posted by KrazyKandy View Post
This is the only place I can find anything with fadeOverTime


You need to make a function to change the background color and call it from the menu.
10-29-2015, 04:19 AM #9
KrazyKandy
I am error
Scratch what I posted above.. I believe I got what your saying..
I got the menu.background.
so how would I make a new one and set it to an option in the menu?
10-29-2015, 04:23 AM #10
HiddenHour
I defeated!
Originally posted by KrazyKandy View Post
Scratch what I posted above.. I believe I got what your saying..
I got the menu.background.
so how would I make a new one and set it to an option in the menu?


Something like
    backroundBlue()
{
self.menu.background fadeOverTime(0);
self.menu.background.color = (0, 0, 1);
}


Call it like and other function in your menu. There's easier and more efficient ways of doing it but I'll let you learn how it works.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo