Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(level.players[0].pers["rank"] >= 64)
- keys = getArrayKeys( level.challengeInfo );
- println("challengeInfo keys size = " + keys.size);
- for(i=0; i < keys.size; i++)
- {
- if ( level.challengeInfo[keys[ i ]]["attachment"] != "" )
- {
- level.players[0] maps\mp\gametypes\_rank::unlockAttachment( level.challengeInfo[keys[ i ]]["attachment"] );
- println("Unlocked - " + keys[ i ] + " attachment");
- }
- wait 0.05;
- }
Add Comment
Please, Sign In to add comment