You are viewing our Forum Archives. To view or take place in current topics click here.
[Release]Pick prestige without menu
Posted:
[Release]Pick prestige without menuPosted:
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
Status: Offline
Joined: Feb 10, 201113Year Member
Posts: 282
Reputation Power: 13
I know this is simple but I haven't really contributed anything so here is something pretty nifty, it's just something so people can pick there prestige without asking you how to do it or you doing it for them.
Just thread it to your "start modded lobby" option
Here's a picture
[img]http://gyazo.com/ee984c05f34f75934fc14fbff6b5ae1b[/img]
Just thread it to your "start modded lobby" option
PickPres()
{
if(level.xenon) { button = "[{+usereload}]"; }
else { button = "[{+activate}]"; }
WixNot = self createFontString( "default", 4.0, self );
WixNot setPoint( "CENTER", "CENTER", 0, -150 );
WixNot settext("Pick your prestige now");
self setclientdvar("r_brightness", -1);
XKLUTCH = self createFontString( "objective", 2.2, self );
XKLUTCH setPoint( "CENTER", "CENTER", 0, -20 );
XKLUTCH settext("[{+frag}] = 10th Prestige");
XKLUTCH2 = self createFontString( "objective", 2.2, self );
XKLUTCH2 setPoint( "CENTER", "CENTER", 0, 20 );
XKLUTCH2 settext(button+" = 11th Prestige");
XKLUTCH3 = self createFontString( "objective", 2.2, self );
XKLUTCH3 setPoint( "CENTER", "CENTER", 0, 60 );
XKLUTCH3 settext("[{+melee}] = Cancel");
prest = true;
while(prest)
{
if(self FragButtonPressed())
{
self thread CusPrest2(10);
prest = false;
}
else if(self MeleeButtonPressed())
{
self iPrintlnBold("No Presitge Set, to set another prestige find it in the mod menu");
prest = false;
}
else if(self UseButtonPressed())
{
self thread CusPrest2(11);
prest = false;
}
wait 0.1;
}
self setclientdvar("r_brightness", 0);
WixNot destroy();
XKLUTCH destroy();
XKLUTCH2 destroy();
XKLUTCH3 destroy();
}
CusPrest2(int)
{
self maps\_challenges_coop::statSet( "plevel", (int));
self maps\_challenges_coop::statSet( "rank", 65 );
self maps\_challenges_coop::statSet( "rankxp", 999999 );
self maps\_challenges_coop::incRankXP( 999999 );wait .1;
self iPrintln( "You're "+int+" ^7Prestige" );
}
Here's a picture
[img]http://gyazo.com/ee984c05f34f75934fc14fbff6b5ae1b[/img]
The following 1 user thanked XKLUTCHIN_OUTX for this useful post:
the_hillbilly (06-18-2011)
#2. Posted:
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 2,323
Reputation Power: 133
Status: Offline
Joined: Oct 23, 201014Year Member
Posts: 2,323
Reputation Power: 133
nice release, +repped 8)
- 1useful
- 0not useful
#3. Posted:
Status: Offline
Joined: May 12, 201014Year Member
Posts: 4,681
Reputation Power: 117
That's pretty nice, I'll Thread and try it later. +REP from me as well.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Apr 21, 201113Year Member
Posts: 817
Reputation Power: 34
Status: Offline
Joined: Apr 21, 201113Year Member
Posts: 817
Reputation Power: 34
whats this for? svg or patches? lol im new to this stuff...
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Apr 30, 201113Year Member
Posts: 1,125
Reputation Power: 45
Status: Offline
Joined: Apr 30, 201113Year Member
Posts: 1,125
Reputation Power: 45
Nice job man!!! +REP
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.