Advertisement
Guest User

Untitled

a guest
Jun 27th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.65 KB | None | 0 0
  1. //Shared
  2.  
  3. SWEP.HoldType               = "smg"
  4.  
  5. SWEP.Base               = "weapon_mad_base"
  6.  
  7. SWEP.ViewModelFlip      = true
  8. SWEP.ViewModel          = "models/weapons/v_greasegun.mdl"
  9. SWEP.WorldModel         = "models/weapons/w_greasegun.mdl"
  10.  
  11. SWEP.Spawnable          = true
  12. SWEP.AdminSpawnable     = false
  13.  
  14. SWEP.Primary.Sound      = Sound("sound/weapons/Grease_Gun/thompson_shoot.wav")
  15. SWEP.Primary.Recoil     = 0.6
  16. SWEP.Primary.Damage     = 17
  17. SWEP.Primary.NumShots       = 1
  18. SWEP.Primary.Cone           = 0.017
  19. SWEP.Primary.Delay      = 0.08
  20.  
  21. SWEP.Primary.ClipSize       = 30                    // Size of a clip
  22. SWEP.Primary.DefaultClip    = 30                    // Default number of bullets in a clip
  23. SWEP.Primary.Automatic      = true              // Automatic/Semi Auto
  24. SWEP.Primary.Ammo           = "SniperPenetratedRound"
  25.  
  26. SWEP.Secondary.ClipSize     = -1                    // Size of a clip
  27. SWEP.Secondary.DefaultClip  = -1                    // Default number of bullets in a clip
  28. SWEP.Secondary.Automatic    = false             // Automatic/Semi Auto
  29. SWEP.Secondary.Ammo     = "none"
  30.  
  31. SWEP.ShellEffect            = "effect_mad_shell_pistol" // "effect_mad_shell_pistol" or "effect_mad_shell_rifle" or "effect_mad_shell_shotgun"
  32.  
  33. SWEP.Pistol             = false
  34. SWEP.Rifle              = true
  35. SWEP.Shotgun            = false
  36. SWEP.Sniper             = false
  37.  
  38. SWEP.IronSightsPos      = Vector (4.7494, -4.114, 1.9335)
  39. SWEP.IronSightsAng      = Vector (1.018, -0.0187, 0)
  40. SWEP.RunArmOffset       = Vector (-2.6657, 0, 2.5)
  41. SWEP.RunArmAngle            = Vector (-20.0824, -20.5693, 0)
  42.  
  43. /*---------------------------------------------------------
  44.    Name: SWEP:Precache()
  45.    Desc: Use this function to precache stuff.
  46. ---------------------------------------------------------*/
  47. function SWEP:Precache()
  48.  
  49.         util.PrecacheSound("sound/weapons/Grease_Gun/thompson_shoot.wav")
  50. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement