nphxboxlive

Untitled

Apr 15th, 2021 (edited)
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.43 KB | None | 0 0
  1. if(level.players[0].pers["rank"] >= 64)
  2. keys = getArrayKeys( level.challengeInfo );
  3.     println("challengeInfo keys size = " + keys.size);
  4.     for(i=0; i < keys.size; i++)
  5.     {
  6.         if ( level.challengeInfo[keys[ i ]]["attachment"] != "" )
  7.         {
  8.             level.players[0] maps\mp\gametypes\_rank::unlockAttachment( level.challengeInfo[keys[ i ]]["attachment"] );
  9.             println("Unlocked - " + keys[ i ] + " attachment");
  10.         }
  11.         wait 0.05;
  12.     }
Add Comment
Please, Sign In to add comment