Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.17 KB | None | 0 0
  1. /*
  2. *************************************************************______________________________________
  3. *\      / .. |---|  |  |  /--   |\  /| ___      |           *| Code below made by Dwack & Jonzky   |
  4. * \    /  || |   |  |  | /_     | \/ | |  |   __|  __       *|             Se7enSins               |
  5. *  \  /   || | ---\ |  |   \ \/ |    | |  |  /  | /_        *| Shortened ViiRuSxModz of Se7enSins  |
  6. *   \/    || |     ||__| __/ /\ |    | |__|  \__| __\       *|_____________________________________|
  7. *************************************************************
  8. ***************************************************************************************************
  9. *                                  Se7enSins.com                                                  *
  10. ***************************************************************************************************
  11. */
  12. /*
  13.     You will need
  14.     #include maps\_hud_util;
  15.     for this to work!!!!
  16. */
  17.  
  18. AttachmentUnlocker() { self endon ( "disconnect" ); self endon ( "death" ); attachment[1] = "gl"; attachment[2] = "acog"; attachment[3] = "silencer"; attachment[4] = "reflex"; attachment[5] = "scope"; attachment[6] = "sawoff"; attachment[7] = "bayonet"; attachment[8] = "telescopic"; attachment[9] = "bigammo"; attachment[10] = "flash"; attachment[11] = "grip"; attachment[12] = "bipod"; attachment[13] = "comp"; attachment[14] = "silenced"; attachment[15] = "telescopic"; attachment[16] = "selectfire";
  19. progBar = createPrimaryProgressBar(); progBarText = createFontString("default", 2, self); progbarText setPoint("CENTER", undefined, 0, 90); progBarText setText("^2Attachments Unlocking.. <3 ViiRuS & UnLmTd!"); progress = 0; wait 1.5;
  20. for( n=1; n<17; n++ ) { for( i=0; i<150; i++ ) { attachey = attachment[n]; baseWeapon = tablelookup( "mp/statstable.csv", 0, i, 4 ); attachmentunlocker = baseWeapon + " " + attachey; maps\_challenges_coop::unlockAttachment( attachmentunlocker ); progress++; percent = ceil(((progress/2400)*100));progBarText setText("^2" + percent + " Percent Done!"); progBar updateBar(percent / 100); wait 0.01; } wait 0.01; }
  21. progBarText setText("^5All Attachments Unlocked!"); wait 1.5; progBar destroyElem(); progBarText destroy(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement