L
Lee 0312
Enthusiast
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
Edit: Yep it works
Credit to who ever released the unlock all camos and attachments code
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