Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. AddCSLuaFile()
  2.  
  3. SWEP.HoldType = "pistol"
  4.  
  5. if CLIENT then
  6. SWEP.PrintName = "Deagle"
  7. SWEP.Slot = 1
  8.  
  9. SWEP.ViewModelFlip = false
  10. SWEP.ViewModelFOV = 54
  11.  
  12. SWEP.Icon = "vgui/ttt/icon_deagle"
  13. end
  14.  
  15. SWEP.Base = "weapon_tttbase"
  16.  
  17. SWEP.Kind = WEAPON_PISTOL
  18. SWEP.WeaponID = AMMO_DEAGLE
  19.  
  20. SWEP.Primary.Ammo = "AlyxGun" -- hijack an ammo type we don't use otherwise
  21. SWEP.Primary.Recoil = 3
  22. SWEP.Primary.Damage = 37
  23. SWEP.Primary.Delay = 0.3
  24. SWEP.Primary.Cone = 0.02
  25. SWEP.Primary.ClipSize = 7
  26. SWEP.Primary.ClipMax = 36
  27. SWEP.Primary.DefaultClip = 7
  28. SWEP.Primary.Automatic = false
  29. SWEP.Primary.Sound = Sound( "Weapon_Deagle.Single" )
  30.  
  31. SWEP.HeadshotMultiplier = 4
  32.  
  33. SWEP.AutoSpawnable = true
  34. SWEP.Spawnable = true
  35. SWEP.AmmoEnt = "item_ammo_revolver_ttt"
  36.  
  37. SWEP.UseHands = true
  38. SWEP.ViewModel = "models/weapons/cstrike/c_pist_deagle.mdl"
  39. SWEP.WorldModel = "models/weapons/w_pist_deagle.mdl"
  40.  
  41. SWEP.IronSightsPos = Vector(-6.361, -3.701, 2.15)
  42. SWEP.IronSightsAng = Vector(0, 0, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement