kurozael

Clockwork Item Base

Jul 13th, 2011
199
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.     © 2011 CloudSixteen.com do not share, re-distribute or modify
  3.     without permission of its author (kurozael@gmail.com).
  4. --]]
  5.  
  6. ITEM = Clockwork.item:New(nil, true);
  7. ITEM.name = "Weapon Base";
  8. ITEM.useText = "Equip";
  9. ITEM.useSound = false;
  10. ITEM.category = "Firearms";
  11. ITEM.useInVehicle = false;
  12.  
  13. local defaultWeapons = {
  14.     ["weapon_357"] = {"357", nil, true},
  15.     ["weapon_ar2"] = {"ar2", "ar2altfire", 30},
  16.     ["weapon_rpg"] = {"rpg_round", nil, 3},
  17.     ["weapon_smg1"] = {"smg1", "smg1_grenade", true},
  18.     ["weapon_slam"] = {"slam", nil, 2},
  19.     ["weapon_frag"] = {"grenade", nil, 1},
  20.     ["weapon_pistol"] = {"pistol", nil, true},
  21.     ["weapon_shotgun"] = {"buckshot", nil, true},
  22.     ["weapon_crossbow"] = {"xbowbolt", nil, 4}
  23. };
  24.  
  25. ITEM:AddData(ITEM, "ClipOne", 0, true);
  26. ITEM:AddData(ITEM, "ClipTwo", 0, true);
RAW Paste Data