if SERVER then AddCSLuaFile( "shared.lua" ) end if CLIENT then SWEP.PrintName = "The Dropbear" SWEP.Instructions = "1 shot kill." SWEP.Contact = "through steam or FS forum" SWEP.Author = "Dropbear" SWEP.Slot = 6 SWEP.SlotPos = 1 SWEP.ViewModelFOV = 64 SWEP.ViewModelFlip = true end SWEP.AdminSpawnable = false SWEP.Spawnable = false SWEP.ViewModel = "models/weapons/v_pist_deagle.mdl" SWEP.WorldModel = "models/weapons/w_pist_deagle.mdl" SWEP.AutoSwitchTo = true SWEP.AutoSwitchFrom = false SWEP.Kind = WEAPON_EQUIP1 SWEP.HoldType = "pistol" SWEP.FiresUnderwater = true SWEP.Weight = 5 SWEP.DrawCrosshair = true SWEP.DrawAmmo = true SWEP.ReloadSound = "" SWEP.base = "weapon_tttbase" SWEP.Primary.Sound = "" SWEP.Primary.Damage = 4000 SWEP.Primary.Ammo = "RPG_Round" SWEP.Primary.Cone = 0.01 SWEP.Primary.Automatic = true SWEP.Primary.Recoil = 1 SWEP.Primary.Delay = 1 SWEP.Primary.ClipSize = 1 SWEP.Primary.ClipMax = 1 SWEP.Primary.DefaultClip = 1 SWEP.IronSightsPos = Vector( 6.05, -5, 2.4 ) SWEP.IronSightsAng = Vector( 2.2, -0.1, 0 ) SWEP.CanBuy = { ROLE_TRAITOR } SWEP.LimitedStock = true SWEP.IsSilent = false SWEP.AllowDrop = true SWEP.InLoadoutFor = nil SWEP.AmmoEnt = nil SWEP.NoSights = false SWEP.PrimaryAnim = ACT_VM_PRIMARYATTACK SWEP.ReloadAnim = ACT_VM_RELOAD if CLIENT then SWEP.Icon = "vgui/ttt/icon_deagle" // This is for the menu SWEP.EquipMenuData = { type = "item_weapon", desc = "The dropbear. 1 shot, 1 kill." }; end function SWEP:Deploy() self.Weapon:SendWeaponAnim(ACT_VM_DRAW) return true end function SWEP:Holster() self:SetIronsights(false) self:SetZoom(false) return true end function SWEP:WasBought(buyer) if IsValid(buyer) then buyer:GiveAmmo( 1, "RPG_Round" ) end end