Advertisement
Guest User

sh_weapon_pistol.lua

a guest
Feb 6th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. --[[
  2.     © 2013 CloudSixteen.com do not share, re-distribute or modify
  3.     without permission of its author (kurozael@gmail.com).
  4. --]]
  5.  
  6. local ITEM = Clockwork.item:New("weapon_base");
  7.     ITEM.name = "USP Match";
  8.     ITEM.cost = 100;
  9.     ITEM.model = "models/weapons/w_pistol.mdl";
  10.     ITEM.weight = 1;
  11.     ITEM.access = "V";
  12.     ITEM.classes = {CLASS_EMP, CLASS_EOW};
  13.     ITEM.uniqueID = "weapon_pistol";
  14.     ITEM.business = true;
  15.     ITEM.description = "A small pistol coated in a dull grey.";
  16.     ITEM.isAttachment = true;
  17.     ITEM.loweredOrigin = Vector(3, 0, -4);
  18.     ITEM.loweredAngles = Angle(0, 45, 0);
  19.     ITEM.attachmentBone = "ValveBiped.Bip01_Pelvis";
  20.     ITEM.attachmentOffsetAngles = Angle(0, 0, 90);
  21.     ITEM.attachmentOffsetVector = Vector(0, 4, -8);
  22.     ITEM.spawnValue = 1; -- HERE
  23.     ITEM.spawnType = "weapon"; -- HERE
  24.     ITEM.isRareSpawn = true; -- AND HERE
  25. ITEM:Register();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement