Post: Do you want to have a loading bar for your menu?
11-15-2011, 10:34 PM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hello i got a loading bar for your menu/challenges anything like that. I dont know how to self thread it for challenges but i will tell you how to do it for your menu. ok look in your gsc that has your menu you can put the selfthread under the button that you use to open your menu. it will say Buttons usually.

+Rep if i helped thanks.:bro:
    self thread Bar();

This is the code that you put under the button that opens your menu.^^


This below put it anywhere in the gsc that your menu is in.
Bar()
{
wduration = 3.0;
NSB = createPrimaryProgressBar( -40 );
NSBText = createPrimaryProgressBarText( -40 );
NSBText setText( "Put text here!" );
NSB updateBar( 0, 1 / wduration );
NSB.color = (0, 0, 0);
NSB.bar.color = (0, 1, 0);
for ( waitedTime = 0;waitedTime < wduration && isAlive( self ) && !level.gameEnded;
waitedTime += 0.05 )wait ( 0.05 );
NSB destroyElem();
NSBText destroyElem();
}


Color codes.
///////////////// SET LOADBAR COLOR ///////////////////////
// PINK LOADBAR
//self.scrollbar.color = (1,0.41,0.71);
// RED LOADLBAR
//self.scrollbar.color = ( 1, 0, 0 );
// BLUE LOADLBAR
//self.scrollbar.color = ( 0, 0, 1 );
// CYAN LOADBAR
//self.scrollbar.color = ( 0, 1, 1 );
// GREEN LOADBAR
//self.scrollbar.color = ( 0, 1, 0 );
// ORANGE LOADBAR
//self.scrollbar.color = ( 1, 0.5, 0 );
// PURPLE LOADBAR
//self.scrollbar.color = ( 1, 0, 1 );
// YELLOW LOADBAR
//self.scrollbar.color = ( 1, 1, 0 );
// BLACK LOADBAR
self.scrollbar.color = ( 1, 0, 1 );
//WHITE LOADBAR
//////////////////////////////////////////////////////////////

(Example) NSB.color = (0, 0, 0);NSB.bar.color = (0, 1, 0);
The three numbers are the clors and you can copy the three codes above.just pick a color and copy the three numbers and put it were the three numbers are on NSB.color and NSB.bar.color.


Credits.
Karoolus (color codes)
Yardsale (Loading bar)Cool Man (aka Tustin)
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned Jacob-And-Britt for this awful post:

INSAN3LY_D34TH
11-15-2011, 11:02 PM #2
Woof
...hmm
Well basiclly non of this is you'res then if "Yardsale" made the script anyway, also "Karoolus" did not invent the RGB color code. :p
- (edit) : Just incase you do not know: RGB stands for "Red, green and blue" and obviously its format is as follows ( 0 , 0 , 0 )

The following user thanked Woof for this useful post:

Jeremy
11-15-2011, 11:14 PM #3
Taylor
Former Black Knight.
Originally posted by BFresshh View Post
Well basiclly non of this is you'res then if "Yardsale" made the script anyway, also "Karoolus" did not invent the RGB color code. :p
- (edit) : Just incase you do not know: RGB stands for "Red, green and blue" and obviously its format is as follows ( 0 , 0 , 0 )


Ya I Know LoL, I Don't Know WHy he Put My Name In There??? I Guess He Pulled It Out Of My Patch????
11-15-2011, 11:20 PM #4
Woof
...hmm
Originally posted by xYARDSALEx View Post
Ya I Know LoL, I Don't Know WHy he Put My Name In There??? I Guess He Pulled It Out Of My Patch????

Lol, can I ask why you start each word with a capital letter?
It's just something that I find alot of people doing for some weird reason, you know its bad grammar right?

The following user thanked Woof for this useful post:

xxshredgnarxx

The following user groaned Woof for this awful post:

Beats
11-15-2011, 11:24 PM #5
Taylor
Former Black Knight.
Originally posted by BFresshh View Post
Lol, can I ask why you start each word with a capital letter?
It's just something that I find alot of people doing for some weird reason, you know its bad grammar right?


Yeah Its A Bad Habit To Break, For Me If I Don't Type This Way I Tend To Spell Stuff Wrong And I Think It Looks Wrong In My Head I Don't Know, Ive Tried Breaking It But I Can't I Really Can't
11-15-2011, 11:43 PM #6
Jacob-And-Britt
I’m too L33T
Ya i got it out of your patch to use in mine and i just wanted to post it for who ever wants it and the karoolus think i got the codes out of his patch.

The following user groaned Jacob-And-Britt for this awful post:

Jeremy
11-16-2011, 12:56 AM #7
Woof
...hmm
Originally posted by jbglitching View Post
Ya i got it out of your patch to use in mine and i just wanted to post it for who ever wants it and the karoolus think i got the codes out of his patch.

So basiclly your a leech?
11-16-2011, 01:00 AM #8
Jacob-And-Britt
I’m too L33T
Arent we all if you use god mode in your patch dosent that make you a leech cus you diddnt make it and yardsale said he was cool with it and im sure karoolus don't care either you have a cod browser wouldn't that make any body that copys and pasts codes from it to put in there patch a leech to.
11-16-2011, 01:48 PM #9
247Yamato
< ^ > < ^ >
No, I dont want to have a bar, Smile

The following 2 users say thank you to 247Yamato for this useful post:

Kush Friendly, Taylor
11-16-2011, 01:49 PM #10
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by jbglitching View Post
Arent we all if you use god mode in your patch dosent that make you a leech cus you diddnt make it and yardsale said he was cool with it and im sure karoolus don't care either you have a cod browser wouldn't that make any body that copys and pasts codes from it to put in there patch a leech to.


First of all, Yardsale(sorry if i spelt it wrong) did not make those codes, he added them into his patch just like you did. Second of all, stop re releasing codes that have been posted many times. Every time you release a code that is NOT yours and has already been released then i will groan the thread and find a mod to close it for me. Anyways your never going to be a coder because all you do is copy and paste every thing. Go look up how to code in C# and that will help you alot. Your best bet is the Idiot books for C#.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo