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-16-2011, 04:52 PM #11
Originally posted by D34TH View Post
Your best bet is the Idiot books for C#.
It worked for me Winky Winky

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

INSAN3LY_D34TH, Taylor
11-16-2011, 10:15 PM #12
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by x. View Post
It worked for me Winky Winky


I bet they did, he also needs an idiot book for grammar.
11-16-2011, 10:43 PM #13
Originally posted by D34TH View Post
I bet they did, he also needs an idiot book for grammar.
And punctuation for dummies.

The following user thanked x_DaftVader_x for this useful post:

INSAN3LY_D34TH
11-16-2011, 10:55 PM #14
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by x. View Post
And punctuation for dummies.


haha i like almost every post of yours

The following user thanked INSAN3LY_D34TH for this useful post:

x_DaftVader_x
11-16-2011, 11:39 PM #15
Taylor
Former Black Knight.
Originally posted by D34TH View Post
haha i like almost every post of yours


Guys Thats Funny, But Its Meanish, Give Him A Break A Bit
11-17-2011, 12:04 AM #16
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by xYARDSALEx View Post
Guys Thats Funny, But Its Meanish, Give Him A Break A Bit


its hard not too cause he keeps re releasing shit

The following user thanked INSAN3LY_D34TH for this useful post:

Kush Friendly
11-17-2011, 12:06 AM #17
Taylor
Former Black Knight.
Originally posted by D34TH View Post
its hard not too cause he keeps re releasing shit


No No No Re Re Re Re Re Releasing???
11-17-2011, 01:01 AM #18
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by xYARDSALEx View Post
No No No Re Re Re Re Re Releasing???


there are to many re to be put haha
11-17-2011, 01:08 AM #19
Taylor
Former Black Knight.
Originally posted by D34TH View Post
there are to many re to be put haha


No No No, Im Pretty Sure That Just About Covers It

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo