Advertisement
MiaMyLove

SunShineSilver.mdA

Mar 13th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 9.96 KB | None | 0 0
  1. enum WeaponsMK : DWORD
  2. {
  3.     //  Pistol Mk II:
  4.     //Hash:
  5.     WEAPON_PISTOL_MK2 = 0xBFE256D4,
  6.     //  Components = Magazine:
  7.     COMPONENT_PISTOL_MK2_CLIP_01 = 0x94F42D62,
  8.     COMPONENT_PISTOL_MK2_CLIP_02 = 0x5ED6C128,
  9.     COMPONENT_PISTOL_MK2_CLIP_TRACER = 0x25caaeaf,
  10.     COMPONENT_PISTOL_MK2_CLIP_INCENDIARY = 0x2bbd7a3a,
  11.     COMPONENT_PISTOL_MK2_CLIP_HOLLOWPOINT = 0x85FEA109,
  12.     COMPONENT_PISTOL_MK2_CLIP_FMJ = 0x4f37df2a,
  13.  
  14.     //  Components = Attachment:
  15.     COMPONENT_AT_PI_RAIL = 0x8ED4BB70,
  16.     COMPONENT_AT_PI_FLSH_02 = 0x43fd595b,
  17.     COMPONENT_AT_PI_SUPP_02 = 0x65ea7ebb,
  18.     COMPONENT_AT_PI_COMP = 0x21e34793,
  19.  
  20.     //  Camos:
  21.     COMPONENT_PISTOL_MK2_CAMO = 0x5c6c749c,
  22.     COMPONENT_PISTOL_MK2_CAMO_02 = 0x15f7a390,
  23.     COMPONENT_PISTOL_MK2_CAMO_03 = 0x968E24DB,
  24.     COMPONENT_PISTOL_MK2_CAMO_04 = 0x17bfa99,
  25.     COMPONENT_PISTOL_MK2_CAMO_05 = 0xF2685C72,
  26.     COMPONENT_PISTOL_MK2_CAMO_06 = 0xDD2231E6,
  27.     COMPONENT_PISTOL_MK2_CAMO_07 = 0xBB43EE76,
  28.     COMPONENT_PISTOL_MK2_CAMO_08 = 0x4d901310,
  29.     COMPONENT_PISTOL_MK2_CAMO_09 = 0x5f31b653,
  30.     COMPONENT_PISTOL_MK2_CAMO_10 = 0x697e19a0,
  31.     COMPONENT_PISTOL_MK2_CAMO_IND_01 = 0x930CB951,
  32.     //  Tints:
  33.     //0 to 32
  34.     //----------------------------------------------
  35.     //  SMG Mk II:
  36.     //  Hash:
  37.     WEAPON_SMG_MK2 = 0x78a97cd0,
  38.  
  39.     //  Components = Magazine:
  40.     COMPONENT_SMG_MK2_CLIP_01 = 0x4c24806e,
  41.     COMPONENT_SMG_MK2_CLIP_02 = 0xB9835B2E,
  42.     COMPONENT_SMG_MK2_CLIP_TRACER = 0x7fea36ec,
  43.     COMPONENT_SMG_MK2_CLIP_INCENDIARY = 0xD99222E5,
  44.     COMPONENT_SMG_MK2_CLIP_HOLLOWPOINT = 0x3a1bd6fa,
  45.     COMPONENT_SMG_MK2_CLIP_FMJ = 0xb5a715f,
  46.  
  47.     //Components = Attachment:
  48.     COMPONENT_AT_AR_FLSH = 0x7bc4cddc,
  49.     COMPONENT_AT_SIGHTS_SMG = 0x9FDB5652,
  50.     COMPONENT_AT_SCOPE_MACRO_02_SMG_MK2 = 0xE502AB6B,
  51.     COMPONENT_AT_SCOPE_SMALL_SMG_MK2 = 0x3decc7da,
  52.     COMPONENT_AT_PI_SUPP = 0x3decc7da,
  53.    
  54.     //  Components = Muzzle Brake:
  55.     COMPONENT_AT_MUZZLE_01 = 0xB99402D4,
  56.     COMPONENT_AT_MUZZLE_02 = 0xC867A07B,
  57.     COMPONENT_AT_MUZZLE_03 = 0xDE11CBCF,
  58.     COMPONENT_AT_MUZZLE_04 = 0xEC9068CC,
  59.     COMPONENT_AT_MUZZLE_05 = 0x2E7957A,
  60.     COMPONENT_AT_MUZZLE_06 = 0x347EF8AC,
  61.     COMPONENT_AT_MUZZLE_07 = 0x4DB62ABE,
  62.    
  63.     //  Components = Barrel:
  64.     COMPONENT_AT_SB_BARREL_01 = 0xD9103EE1,
  65.     COMPONENT_AT_SB_BARREL_02 = 0xA564D78B,
  66.    
  67.     //  Camos:
  68.     COMPONENT_SMG_MK2_CAMO = 0xC4979067,
  69.     COMPONENT_SMG_MK2_CAMO_02 = 0x3815a945,
  70.     COMPONENT_SMG_MK2_CAMO_03 = 0x4b4b4fb0,
  71.     COMPONENT_SMG_MK2_CAMO_04 = 0xEC729200,
  72.     COMPONENT_SMG_MK2_CAMO_05 = 0x48f64b22,
  73.     COMPONENT_SMG_MK2_CAMO_06 = 0x35992468,
  74.     COMPONENT_SMG_MK2_CAMO_07 = 0x24b782a5,
  75.     COMPONENT_SMG_MK2_CAMO_08 = 0xA2E67F01,
  76.     COMPONENT_SMG_MK2_CAMO_09 = 0x2218fd68,
  77.     COMPONENT_SMG_MK2_CAMO_10 = 0x45c5c3c5,
  78.     COMPONENT_SMG_MK2_CAMO_IND_01 = 0x399d558f,
  79.     //  Tints:
  80.     //  0 to 32
  81.     //------------------------------------------------
  82.     //  Assault Rifle Mk II:
  83.     //  Hash:
  84.     WEAPON_ASSAULTRIFLE_MK2 = 0x394f415c,
  85.    
  86.     //  Components = Magazine:
  87.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_01 = 0x8610343F,
  88.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_02 = 0xD12ACA6F,
  89.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_TRACER = 0xEF2C78C1,
  90.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_INCENDIARY = 0xFB70D853,
  91.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_ARMORPIERCING = 0xA7DD1E58,
  92.     COMPONENT_ASSAULTRIFLE_MK2_CLIP_FMJ = 0x63e0a098,
  93.    
  94.     //  Components = Attachment:
  95.     COMPONENT_AT_AR_AFGRIP_02 = 0x9D65907A,
  96.     COMPONENT_AT_AR_FLSH = 0x7BC4CDDC,
  97.     COMPONENT_AT_SIGHTS = 0x420fd713,
  98.     COMPONENT_AT_SCOPE_MACRO_MK2 = 0x49b2945,
  99.     COMPONENT_AT_SCOPE_MEDIUM_MK2 = C66B6542,
  100.     COMPONENT_AT_AR_SUPP_02 = 0xA73D4664,
  101.    
  102.     //  Components = Muzzle Brake:
  103.     COMPONENT_AT_MUZZLE_01 = 0xB99402D4,
  104.     COMPONENT_AT_MUZZLE_02 = 0xC867A07B,
  105.     COMPONENT_AT_MUZZLE_03 = 0xDE11CBCF,
  106.     COMPONENT_AT_MUZZLE_04 = 0xEC9068CC,
  107.     COMPONENT_AT_MUZZLE_05 = 0x2e7957a,
  108.     COMPONENT_AT_MUZZLE_06 = 0x347EF8AC,
  109.     COMPONENT_AT_MUZZLE_07 = 0x4DB62ABE,
  110.    
  111.     //  Components = Barrel:
  112.     COMPONENT_AT_AR_BARREL_01 = 0x43a49d26,
  113.     COMPONENT_AT_AR_BARREL_02 = 0x5646c26a,
  114.    
  115.     //  Camos:
  116.     COMPONENT_ASSAULTRIFLE_MK2_CAMO = 0x911B24AF,
  117.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_02 = 0x37e5444b,
  118.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_03 = 0x538b7b97,
  119.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_04 = 0x25789f72,
  120.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_05 = 0xC5495F2D,
  121.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_06 = 0xCF8B73B1,
  122.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_07 = 0xA9BB2811,
  123.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_08 = 0xFC674D54,
  124.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_09 = 0x7C7FCD9B,
  125.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_10 = 0xA5C38392,
  126.     COMPONENT_ASSAULTRIFLE_MK2_CAMO_IND_01 = 0xB9B15DB0,
  127.     //  Tints:
  128.     //  0 to 32
  129.     //------------------------------------------------
  130.     //  Carbine Rifle Mk II:
  131.     //  Hash:
  132.     WEAPON_CARBINERIFLE_MK2 = 0xFAD1F1C9,
  133.    
  134.     //  Components = Magazine:
  135.     COMPONENT_CARBINERIFLE_MK2_CLIP_01 = 0x4c7a391e,
  136.     COMPONENT_CARBINERIFLE_MK2_CLIP_02 = 0x5dd5dbd5,
  137.     COMPONENT_CARBINERIFLE_MK2_CLIP_TRACER = 0x1757f566,
  138.     COMPONENT_CARBINERIFLE_MK2_CLIP_INCENDIARY = 0x3d25c2a7,
  139.     COMPONENT_CARBINERIFLE_MK2_CLIP_ARMORPIERCING = 0x255d5d57,
  140.     COMPONENT_CARBINERIFLE_MK2_CLIP_FMJ = 0x44032f11,
  141.    
  142.     //  Components = Attachment:
  143.     COMPONENT_AT_AR_AFGRIP_02 = 0x9D65907A,
  144.     COMPONENT_AT_AR_FLSH = 0x7bc4cddc,
  145.     COMPONENT_AT_SIGHTS = 0x420fd713,
  146.     COMPONENT_AT_SCOPE_MACRO_MK2 = 0x49b2945,
  147.     COMPONENT_AT_SCOPE_MEDIUM_MK2 = 0xC66B6542,
  148.     COMPONENT_AT_AR_SUPP = 0x837445AA,
  149.    
  150.     //  Components = Muzzle Brake:
  151.     COMPONENT_AT_MUZZLE_01 = 0xB99402D4,
  152.     COMPONENT_AT_MUZZLE_02 = 0xC867A07B,
  153.     COMPONENT_AT_MUZZLE_03 = 0xDE11CBCF,
  154.     COMPONENT_AT_MUZZLE_04 = 0xEC9068CC,
  155.     COMPONENT_AT_MUZZLE_05 = 0x2e7957a,
  156.     COMPONENT_AT_MUZZLE_06 = 0x347ef8ac,
  157.     COMPONENT_AT_MUZZLE_07 = 0x4db62abe,
  158.    
  159.     //  Components = Barrel:
  160.     COMPONENT_AT_CR_BARREL_01 = 0x833637FF,
  161.     COMPONENT_AT_CR_BARREL_02 = 0x8B3C480B,
  162.    
  163.     //  Camos:
  164.     COMPONENT_CARBINERIFLE_MK2_CAMO = 0x4bdd6f16,
  165.     COMPONENT_CARBINERIFLE_MK2_CAMO_02 = 0x406a7908,
  166.     COMPONENT_CARBINERIFLE_MK2_CAMO_03 = 0x2f3856a4,
  167.     COMPONENT_CARBINERIFLE_MK2_CAMO_04 = 0xE50C424D,
  168.     COMPONENT_CARBINERIFLE_MK2_CAMO_05 = 0xD37D1F2F,
  169.     COMPONENT_CARBINERIFLE_MK2_CAMO_06 = 0x86268483,
  170.     COMPONENT_CARBINERIFLE_MK2_CAMO_07 = 0xF420E076,
  171.     COMPONENT_CARBINERIFLE_MK2_CAMO_08 = 0xAAE14DF8,
  172.     COMPONENT_CARBINERIFLE_MK2_CAMO_09 = 0x9893A95D,
  173.     COMPONENT_CARBINERIFLE_MK2_CAMO_10 = 0x6b13cd3e,
  174.     COMPONENT_CARBINERIFLE_MK2_CAMO_IND_01 = 0xDA55CD3F,
  175.     //  Tints:
  176.     //  0 to 32
  177.     //------------------------------------------------
  178.     //  Combat MG Mk II:
  179.     //  Hash:
  180.     WEAPON_COMBATMG_MK2 = 0xDBBD7280,
  181.    
  182.     //  Components = Magazine:
  183.     COMPONENT_COMBATMG_MK2_CLIP_01 = 0x492B257C,
  184.     COMPONENT_COMBATMG_MK2_CLIP_02 = 0x17df42e9,
  185.     COMPONENT_COMBATMG_MK2_CLIP_TRACER = 0xF6649745,
  186.     COMPONENT_COMBATMG_MK2_CLIP_INCENDIARY = 0xC326BDBA,
  187.     COMPONENT_COMBATMG_MK2_CLIP_ARMORPIERCING = 0x29882423,
  188.     COMPONENT_COMBATMG_MK2_CLIP_FMJ = 0x57EF1CC8,
  189.    
  190.     //  Components = Attachment:
  191.     COMPONENT_AT_AR_AFGRIP_02 = 0x9D65907A,
  192.     COMPONENT_AT_SIGHTS = 0x420fd713,
  193.     COMPONENT_AT_SCOPE_SMALL_MK2 = 0x3F3C8181,
  194.     COMPONENT_AT_SCOPE_MEDIUM_MK2 = 0xC66B6542,
  195.    
  196.     //  Components = Muzzle Brake:
  197.     COMPONENT_AT_MUZZLE_01 = 0xB99402D4,
  198.     COMPONENT_AT_MUZZLE_02 = 0xC867A07B,
  199.     COMPONENT_AT_MUZZLE_03 = 0xDE11CBCF,
  200.     COMPONENT_AT_MUZZLE_04 = 0xEC9068CC,
  201.     COMPONENT_AT_MUZZLE_05 = 0x2e7957a,
  202.     COMPONENT_AT_MUZZLE_06 = 0x347ef8ac,
  203.     COMPONENT_AT_MUZZLE_07 = 0x4DB62ABE,
  204.    
  205.     //  Components = Barrel:
  206.     COMPONENT_AT_MG_BARREL_01 = 0xC34EF234,
  207.     COMPONENT_AT_MG_BARREL_02 = 0xB5E2575B,
  208.    
  209.     //  Camos:
  210.     COMPONENT_COMBATMG_MK2_CAMO = 0x4a768cb5,
  211.     COMPONENT_COMBATMG_MK2_CAMO_02 = 0xCCE06BBD,
  212.     COMPONENT_COMBATMG_MK2_CAMO_03 = 0xBE94CF26,
  213.     COMPONENT_COMBATMG_MK2_CAMO_04 = 0x7609be11,
  214.     COMPONENT_COMBATMG_MK2_CAMO_05 = 0x48af6351,
  215.     COMPONENT_COMBATMG_MK2_CAMO_06 = 0x9186750A,
  216.     COMPONENT_COMBATMG_MK2_CAMO_07 = 0x84555AA8,
  217.     COMPONENT_COMBATMG_MK2_CAMO_08 = 0x1b4c088b,
  218.     COMPONENT_COMBATMG_MK2_CAMO_09 = 0xe046dfc,
  219.     COMPONENT_COMBATMG_MK2_CAMO_10 = 0x28b536e,
  220.     COMPONENT_COMBATMG_MK2_CAMO_IND_01 = 0xD703C94D,
  221.     //  Tints:
  222.     //  0 to 32
  223.     //------------------------------------------------
  224.     //  Heavy Sniper Mk II:
  225.     //  Hash:
  226.     WEAPON_HEAVYSNIPER_MK2 = 0xa914799,
  227.    
  228.     //  Components = Magazine:
  229.     COMPONENT_HEAVYSNIPER_MK2_CLIP_01 = 0xFA1E1A28,
  230.     COMPONENT_HEAVYSNIPER_MK2_CLIP_02 = 0x2cd8ff9d,
  231.     COMPONENT_HEAVYSNIPER_MK2_CLIP_INCENDIARY = 0xec0f617,
  232.     COMPONENT_HEAVYSNIPER_MK2_CLIP_ARMORPIERCING = 0xF835D6D4,
  233.     COMPONENT_HEAVYSNIPER_MK2_CLIP_FMJ = 0x3be948f6,
  234.     COMPONENT_HEAVYSNIPER_MK2_CLIP_EXPLOSIVE = 0x89EBDAA7,
  235.    
  236.     //  Components = Attachment:
  237.     COMPONENT_AT_SCOPE_LARGE_MK2 = 0x82C10383,
  238.     COMPONENT_AT_SCOPE_MAX = 0xBC54DA77,
  239.     COMPONENT_AT_SCOPE_NV = 0xB68010B0,
  240.     COMPONENT_AT_SCOPE_THERMAL = 0x2e43da41,
  241.     COMPONENT_AT_SR_SUPP_03 = 0xAC42DF71,
  242.    
  243.     //  Components = Muzzle Brake:
  244.     COMPONENT_AT_MUZZLE_08 = 0x5f7dce4d,
  245.     COMPONENT_AT_MUZZLE_09 = 0x6927e1a1,
  246.    
  247.     //  Components = Barrel:
  248.     COMPONENT_AT_SR_BARREL_01 = 0x909630B7,
  249.     COMPONENT_AT_SR_BARREL_02 = 0x108ab09e,
  250.    
  251.     //  Camos:
  252.     COMPONENT_HEAVYSNIPER_MK2_CAMO = 0xF8337D02,
  253.     COMPONENT_HEAVYSNIPER_MK2_CAMO_02 = 0xC5BEDD65,
  254.     COMPONENT_HEAVYSNIPER_MK2_CAMO_03 = 0xE9712475,
  255.     COMPONENT_HEAVYSNIPER_MK2_CAMO_04 = 0x13AA78E7,
  256.     COMPONENT_HEAVYSNIPER_MK2_CAMO_05 = 0x26591E50,
  257.     COMPONENT_HEAVYSNIPER_MK2_CAMO_06 = 0x302731EC,
  258.     COMPONENT_HEAVYSNIPER_MK2_CAMO_07 = 0xAC722A78,
  259.     COMPONENT_HEAVYSNIPER_MK2_CAMO_08 = 0xBEA4CEDD,
  260.     COMPONENT_HEAVYSNIPER_MK2_CAMO_09 = 0xCD776C82,
  261.     COMPONENT_HEAVYSNIPER_MK2_CAMO_10 = 0xABC5ACC7,
  262.     COMPONENT_HEAVYSNIPER_MK2_CAMO_IND_01 = 0x6C32D2EB,
  263.     //  Tints:
  264.     //  0 to 32
  265.     //------------------------------------------------
  266.    
  267.     /*
  268.     Example Command
  269.     Code
  270.    
  271.     [Command("mk2carbine")]
  272.     public void CMD_CarbineMK2(Client player)
  273.     {
  274.     WeaponHash weapon = (WeaponHash)API.getHashKey("WEAPON_CARBINERIFLE_MK2");
  275.     API.givePlayerWeapon(player, weapon, 1000, true, true);
  276.     // add components to the weapon
  277.     API.givePlayerWeaponComponent(player, weapon, (WeaponComponent)API.getHashKey("COMPONENT_AT_AR_SUPP")); // suppressor
  278.     API.givePlayerWeaponComponent(player, weapon, (WeaponComponent)API.getHashKey("COMPONENT_AT_SIGHTS")); // sights
  279.     API.givePlayerWeaponComponent(player, weapon, (WeaponComponent)API.getHashKey("COMPONENT_CARBINERIFLE_MK2_CAMO_IND_01")); // independence day camo
  280.     }
  281.    
  282.     */
  283. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement