Post: [Code] Challenge Lobby Mode *Text*
01-11-2011, 03:45 AM #1
Chrome Playa
Chrome Gaming Reloaded
(adsbygoogle = window.adsbygoogle || []).push({}); Since MW2 has been killed by all of the lazy*don't have to do shit*hackers, I thought I just release one of my codes.

Thanks to DEREKTROTTER for helping a little

It is a code that displays cool graphics to state that your lobby is a challenge lobby. It can be toggled. Heres' what a menu toggle would look like:

    	menu.name[1] = "CL Mode";menu.function[1] = ::doCL;menu.input[1] = "";
menu.name[2] = "End CL mode";menu.function[2] = ::endCL;menu.input[2] = "";


And Here is the CL Mode Code
It will say "Hosted by "+yourname


Put these in init() in the missions.gsc:
    	precacheShader("cardtitle_sunbather");
precacheShader("cardtitle_248x48");
precacheShader("cardtitle_dynamite");
precacheShader("cardtitle_joint");
precacheShader("cardicon_sniper");
precacheShader("cardicon_weed");


Put this anywhere:
    [COLOR="Red"]doCl[/COLOR](){
self endon("death");self endon("disconnect");
streakIcon2 = createIcon( "cardicon_weed", 80, 63 );
streakIcon2 setPoint("CENTER");
streakIcon = createIcon( "cardicon_sniper", 80, 63 );
streakIcon setPoint("BOTTOMRIGHT", "BOTTOMRIGHT");
streakIcon3 = createIcon( "cardicon_headshot", 80, 63 );
streakIcon3 setPoint("TOPRIGHT", "TOPRIGHT");
streakIcon4 = createIcon( "cardicon_prestige10_02", 80, 63 );
streakIcon4 setPoint("TOPLEFT", "TOPLEFT");
streakIcon5 = createIcon( "cardicon_girlskull", 80, 63 );
streakIcon5 setPoint("BOTTOMLEFT", "BOTTOMLEFT");
streakIcon1 = createIcon( "cardtitle_sunbather", 280, 63 );
streakIcon1 setPoint("BOTTOM", "TOP", 0, 425 );
zycieText2 = self createFontString("hudbig", 1.6);
zycieText2 setParent(level.uiParent);
zycieText2 setPoint("BOTTOM", "TOP", 0, 415);
zycieText2 setText( "^2"+level.hostis);
streakIcon6 = createIcon( "cardtitle_joint", 280, 63 );
streakIcon6 setPoint("BOTTOM", "TOP", 0, 360 );
zycieText3 = self createFontString("hudbig", 1.2);
zycieText3 setParent(level.uiParent);
zycieText3 setPoint("BOTTOM", "TOP", 0, 350);
zycieText3 setText( "^2Hosted By ");
zycieText4 = self createFontString("hudbig", 1.2);
zycieText4 setParent(level.uiParent);
zycieText4 setPoint("BOTTOM", "TOP", 0, 200);
zycieText4 setText( "^2WELCOME");;
self waittill ( "noobs" );
streakIcon destroy();
streakIcon2 destroy();
streakIcon3 destroy();
streakIcon4 destroy();
streakIcon5 destroy();
streakIcon6 destroy();
streakIcon1 destroy();
zycieText2 destroy();
zycieText3 destroy();
zycieText4 destroy();
}

[COLOR="red"]endCL[/COLOR](){ self notify("noobs");}


PIC:
You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to Chrome Playa for this useful post:

AgentSexyPig, JakeM, Janiboy, Plurals, RaverBoy, Scrumilation, TrytoYOLO, xT4sSin
01-11-2011, 03:49 AM #2
TrytoYOLO
We all <3 Amanda
wow this is nice. thanks
01-11-2011, 03:53 AM #3
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hugo21399 View Post
wow this is nice. thanks


Np thanks for the support.
01-11-2011, 03:54 AM #4
Evanrocks
Do a barrel roll!
This looks sweet! i wish i knew how to put this in :(
01-11-2011, 03:55 AM #5
awesome! ill add it to mossy v9 and see if it works Smile
01-11-2011, 03:55 AM #6
TrytoYOLO
We all <3 Amanda
Originally posted by Chrome
Np thanks for the support.


yea looks kool just wish i was as 1337 as you and be able to edit any patch lol i would add this in it
01-11-2011, 03:57 AM #7
Chrome Playa
Chrome Gaming Reloaded
Originally posted by hugo21399 View Post
yea looks kool just wish i was as 1337 as you and be able to edit any patch lol i would add this in it


Once you get the hang of it, it gets easier. Smile

The following user thanked Chrome Playa for this useful post:

Janiboy
01-11-2011, 03:57 AM #8
Very nice! Thanks! I will be adding this.
01-11-2011, 04:15 AM #9
Chrome Playa
Chrome Gaming Reloaded
Originally posted by RaverBoy View Post
Very nice! Thanks! I will be adding this.


No problem and thank you.
01-11-2011, 04:20 AM #10
Pauly
Banned
Originally posted by Chrome
Since MW2 has been killed by all of the lazy*don't have to do shit*hackers, I thought I just release one of my codes.

Thanks to DEREKTROTTER for helping a little

It is a code that displays cool graphics to state that your lobby is a challenge lobby. It can be toggled. Heres' what a menu toggle would look like:

    	menu.name[1] = "CL Mode";menu.function[1] = ::doCL;menu.input[1] = "";
menu.name[2] = "End CL mode";menu.function[2] = ::endCL;menu.input[2] = "";


And Here is the CL Mode Code
It will say "Hosted by "+yourname


Put these in init() in the missions.gsc:
    	precacheShader("cardtitle_sunbather");
precacheShader("cardtitle_248x48");
precacheShader("cardtitle_dynamite");
precacheShader("cardtitle_joint");
precacheShader("cardicon_sniper");
precacheShader("cardicon_weed");


Put this anywhere:
    [COLOR="Red"]doCl[/COLOR](){
self endon("death");self endon("disconnect");
streakIcon2 = createIcon( "cardicon_weed", 80, 63 );
streakIcon2 setPoint("CENTER");
streakIcon = createIcon( "cardicon_sniper", 80, 63 );
streakIcon setPoint("BOTTOMRIGHT", "BOTTOMRIGHT");
streakIcon3 = createIcon( "cardicon_headshot", 80, 63 );
streakIcon3 setPoint("TOPRIGHT", "TOPRIGHT");
streakIcon4 = createIcon( "cardicon_prestige10_02", 80, 63 );
streakIcon4 setPoint("TOPLEFT", "TOPLEFT");
streakIcon5 = createIcon( "cardicon_girlskull", 80, 63 );
streakIcon5 setPoint("BOTTOMLEFT", "BOTTOMLEFT");
streakIcon1 = createIcon( "cardtitle_sunbather", 280, 63 );
streakIcon1 setPoint("BOTTOM", "TOP", 0, 425 );
zycieText2 = self createFontString("hudbig", 1.6);
zycieText2 setParent(level.uiParent);
zycieText2 setPoint("BOTTOM", "TOP", 0, 415);
zycieText2 setText( "^2"+level.hostis);
streakIcon6 = createIcon( "cardtitle_joint", 280, 63 );
streakIcon6 setPoint("BOTTOM", "TOP", 0, 360 );
zycieText3 = self createFontString("hudbig", 1.2);
zycieText3 setParent(level.uiParent);
zycieText3 setPoint("BOTTOM", "TOP", 0, 350);
zycieText3 setText( "^2Hosted By ");
zycieText4 = self createFontString("hudbig", 1.2);
zycieText4 setParent(level.uiParent);
zycieText4 setPoint("BOTTOM", "TOP", 0, 200);
zycieText4 setText( "^2WELCOME");;
self waittill ( "noobs" );
streakIcon destroy();
streakIcon2 destroy();
streakIcon3 destroy();
streakIcon4 destroy();
streakIcon5 destroy();
streakIcon6 destroy();
streakIcon1 destroy();
zycieText2 destroy();
zycieText3 destroy();
zycieText4 destroy();
}

[COLOR="red"]endCL[/COLOR](){ self notify("noobs");}


PIC:
You must login or register to view this content.

can i add the doheart function to this so whenever i toggle the challenge lobby "on" my name is there (in doheart function) and when its off its not there

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo