daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Nov 24th, 2017 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. params["_unit"];
  2.  
  3. private _allowedWeapons = [
  4.     "uns_mkvFlarePistol",
  5.     "uns_MX991_r",
  6.     "uns_MX991_g",
  7.     "uns_Ruger",
  8.     "uns_ppk",
  9.     "uns_Sterling_f",
  10.     "uns_38spec",
  11.     "uns_357m",
  12.     "uns_m1911",
  13.     "uns_coltcmdr",
  14.     "uns_bhp",
  15.     "uns_uzi",
  16.     "uns_uzif",
  17.     "uns_Sterling",
  18.     "uns_mac10",
  19.     "uns_m45",
  20.     "uns_sten",
  21.     "uns_thompson",
  22.     "uns_m3a1",
  23.     "uns_ithaca37",
  24.     "uns_ithaca37_grip",
  25.     "uns_m1897riot",
  26.     "uns_m1897",
  27.     "uns_model12",
  28.     "uns_m870",
  29.     "uns_m870_mk1",
  30.     "uns_m1carbine",
  31.     "uns_m1carbine_gl",
  32.     "uns_m1carbine_pouch",
  33.     "uns_m1carbine_pouch_gl",
  34.     "uns_m2carbine",
  35.     "uns_m2carbine_gl",
  36.     "uns_m1garand",
  37.     "uns_m1garand_gl",
  38.     "uns_smle",
  39.     "uns_l1a1",
  40.     "uns_l1a1_enfield",
  41.     "uns_l1a1_blk",
  42.     "uns_l2a1",
  43.     "uns_l2a1_shorty",
  44.     "uns_l1a1gl",
  45.     "uns_m14",
  46.     "uns_M21",
  47.     "uns_m16",
  48.     "uns_M63a_drum_base",
  49.     "uns_m63a_base",
  50.     "uns_M63a_AR_base",
  51.     "uns_MX991_w_base",
  52.     "uns_MX991_m1911_base",
  53.     "uns_m72",
  54.     "uns_ex41",
  55.     "uns_m79p",
  56.     "uns_m79",
  57.     "uns_m60grip",
  58.     "uns_m60shorty",
  59.     "uns_m60",
  60.     "uns_bar",
  61.     "uns_m63asupport",
  62.     "uns_M63a_LMG",
  63.     "uns_M63a_AR",
  64.     "uns_xm177e2_m203",
  65.     "uns_xm177e2_xm148",
  66.     "uns_M16A1_HBAR",
  67.     "uns_m16a1_m203",
  68.     "uns_xm177e2_short",
  69.     "uns_xm177e2_stock",
  70.     "uns_xm177e2s",
  71.     "uns_xm177e2_grip",
  72.     "uns_xm177e1",
  73.     "uns_xm177e1_dm",
  74.     "uns_xm177e1_xm148",
  75.     "uns_xm177e1_m203",
  76.     "uns_xm177e2",
  77.     "uns_M16_dm",
  78.     "uns_m16_xm148",
  79.     "uns_m16_m203",
  80.     "uns_M16A1",
  81.     "ACE_VMM3",
  82.     "ACE_VMH3",
  83.     "uns_m1919a6",
  84.     "uns_m2carbine_shorty",
  85.     "uns_m1903",
  86.     "uns_m20_bazooka",
  87.     "uns_t233",
  88.     "uns_sw_m10",
  89.     "uns_model70_iron",
  90.     "uns_m50"
  91. ];
  92.  
  93. while {alive _unit} do {
  94.     {
  95.         if (!(_x in _allowedWeapons)) then {
  96.             _unit removeWeapon _x;
  97.         };
  98.     } forEach weapons _unit;
  99.     sleep 10;
  100. };
RAW Paste Data
Top