Post: Improved Coloured Xp
09-27-2012, 08:41 PM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); hey guys this code enables your xp bar to be coloured,
whats good about this code:

  • isnt a .gsc file
  • can turn it on and off
  • has 12 differnt random xp colours

all credit goes to yamato for tutorial :happygrin:
heres the code Smile
    
colouredxp()
{
for(;Winky Winky{
self endon("colourxp");
self waittill("killed_enemy");
switch(randomInt(12))
{
case 0: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(0,1,0),1);
break;

case 1: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(0,0,1),1);
break;

case 2: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(1,0,1),1);
break;

case 3: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(1,1,1),1);
break;

case 4: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(2,2,3),1);
break;

case 5: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(1,3,1),1);
break;

case 7: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(6,0,1),1);
break;

case 8: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(1,7,1),1);
break;

case 9: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(5,6,1),1);
break;

case 10: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(3,3,3),1);
break;

case 11: self thread maps\mp\gametypes\_rank::scorePopup(500,0,(6,2,2),1);
break;

}
}
}




colourxp()
{
if(!self.colourxp)
{
self thread colouredxp();
self iprintln("Colour Xp - On");
self.colourxp=true;
}
else
{
self notify("colourxp");
self iprintln("Colour Xp - Off");
self.colourxp=false;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

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

247Yamato, BlurzGoHard, John Leepe, Kitty=^.^=, Midnight, OmGRhys-x, Uk_ViiPeR, vDriZzyHD, xePixTvx

The following 2 users groaned at LightModz for this awful post:

Media907, Cmd-X
09-29-2012, 02:24 AM #11
LightModz
League Champion
Originally posted by X View Post
he didn't fins shit, he just straight up copied my shit and made it a little different. :dumb: :ha!:


yours is completely different from my version. stop flaming and gtfo.

---------- Post added at 09:24 PM ---------- Previous post was at 09:23 PM ----------

Originally posted by Nas View Post
Kool Smile But is this suppost to beat Cmd-X's Script or code?


not at all he found his way of doing it through the rank gsc file, id rather use a toggable code which has random colours.
09-29-2012, 02:40 AM #12
John Leepe
< ^ > < ^ >
Originally posted by LightModz View Post
yours is completely different from my version. stop flaming and gtfo.

---------- Post added at 09:24 PM ---------- Previous post was at 09:23 PM ----------



not at all he found his way of doing it through the rank gsc file, id rather use a toggable code which has random colours.


Oh I see. Seems easier than copying a whole gsc.

The following user thanked John Leepe for this useful post:

LightModz
09-29-2012, 03:02 AM #13
Heh Nice Find Looks Way Cooler
10-08-2012, 05:18 PM #14
1.MostWanted
K i l l e r b e r g
Originally posted by xYARDSALEx View Post
Or........

Code:
colouredxp()
{
self endon("colourxp");
for(;Winky Winky
{
self waittill("killed_enemy");
self thread maps\mp\gametypes\_rank::scorePopup(500,0,(randomInt(255)/255, randomInt(255)/255, randomInt(255)/255),1);
}
}
colourxp()
{
if(!isDefined(self.color))
{
self thread colouredxp();
self iprintln("Colour Xp - On");
self.colourxp=true;
}
else
{
self notify("colourxp");
self iprintln("Colour Xp - Off");
self.colourxp=undefined;
}
}

so where do i paste this ? :O
10-08-2012, 05:36 PM #15
Taylor
Former Black Knight.
Originally posted by joeber1234 View Post
so where do i paste this ? :O


/facepalm anywhere, :derp: Don't ask stupid shit

The following user thanked Taylor for this useful post:

ChromeVisionz
10-13-2012, 05:23 PM #16
QATAR♛
Error… Cat invasion!
Cool And Thanks Man

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo