What's new

Discussion [CODE]Unlock All Attachments and Camos Really Fast

  • Thread starter Lee 0312
  • Start date
  • Views 1,910
L

Lee 0312

Enthusiast
Messages
142
Reaction score
132
Not sure if this would work but its worth a try I guess :lol: (I will test tomorrow cba atm lol)
Credit to who ever released the unlock all camos and attachments code :smile:
Code:
dounlocks()
{       setDvar("timescale", "5"); //Or higher 
self iPrintlnBold("Unlocking Camos");
for( n=0; n<8; n++ )
{
for( i=0; i<150; i++ )
{
attachey = tablelookup( "mp/attachmentTable.csv", 0, n, 4 );    
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockCamo( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
self iPrintlnBold("Camo's unlocked");
wait 2;
self iPrintlnBold("Unlocking Attachments");
attachment[0] = "grip";
attachment[1] = "gl";
attachment[2] = "acog";
attachment[3] = "silencer";
attachment[4] = "reflex";
for( n=0; n<5; n++ )
{
for( i=0; i<150; i++ )
{
attachey = attachment[n];
baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 );
attachmentunlocker = baseWeapon + " " + attachey;
maps\mp\gametypes\_rank::unlockAttachment( attachmentunlocker );
wait 0.01;
}
wait 0.01;
}
setDvar("timescale", "1")
self iPrintlnBold("Attachments Unlocked");

}

Edit: Yep it works :smile:
 
U

xSiKxSKILLZx

UNKNOWN RANDOM
Messages
1,213
Reaction score
51
Nice work
 
Z

zackf89

Xbox Modification/Repair Master
Messages
1,574
Reaction score
893
pretty smart changing the timescale...:smile: can get laggy though
 
L

Lee 0312

Enthusiast
Messages
142
Reaction score
132
pretty smart changing the timescale...:smile: can get laggy though
Thanks :lol: you tested it?, I thought it might get a bit laggy lol
I'll test later today :smile:
 
K

KVForFree

Enthusiast
Messages
240
Reaction score
27
do the news actually go away?
 
C

Cheez

I Got The Wizard Stick
Retired
Messages
4,721
Reaction score
2,739
Timescale won't help, it just increases the game speed not the processing speed.
 
D

DJQUIKSILV3R

Enthusiast
Messages
485
Reaction score
143
Wouldn't this change it for everyone in the game? Would get annoying when ever someone unlocks attachments! -_-
 
L

Lee 0312

Enthusiast
Messages
142
Reaction score
132
Wouldn't this change it for everyone in the game? Would get annoying when ever someone unlocks attachments! -_-

True but you could change it to

Code:
self setclientdvar("timescale","1")

Then the timescale will be fast for them and not you (well it will appear fast for them when its actually not if you know what I mean lol) :biggrin:

I just use this when I'm getting people 10th etc via system link so IMO it very useful as its a lot quicker.
 
O

oOMW2Oo

Enthusiast
Messages
134
Reaction score
11
has anyone got a working patch with this new code in it, that i can have please, i keep trying to add it and the patch stops working and the xbox freezes :frown:
 
M

MK x Famous

Famous is Pro
Messages
254
Reaction score
17
nice lee once again nice JOB :tongue:
 
Top Bottom