if SERVER then AddCSLuaFile( "shared.lua" ) end SWEP.HoldType = "revolver" if CLIENT then SWEP.PrintName = "Revolver" SWEP.Author = "TTT" SWEP.Slot = 1 SWEP.SlotPos = 1 SWEP.EquipMenuData = { type="Weapon", model="models/weapons/w_357.mdl", desc="A Powerfull Revolver. Blow some heads off." }; SWEP.Icon = "VGUI/ttt/icon_357" end SWEP.Base = "weapon_tttbase" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.AutoSpawnable = true SWEP.Kind = WEAPON_PISTOL SWEP.WeaponID = AMMO_DEAGLE SWEP.Primary.Ammo = "AlyxGun" -- hijack an ammo type we don't use otherwise SWEP.Primary.Recoil = 10 SWEP.Primary.Damage = 48 SWEP.Primary.Delay = 0.6 SWEP.Primary.Cone = 0.02 SWEP.Primary.ClipSize = 6 SWEP.Primary.ClipMax = 24 SWEP.Primary.DefaultClip = 6 SWEP.Primary.Automatic = true SWEP.HeadshotMultiplier = 4 SWEP.AutoSpawnable = true SWEP.AmmoEnt = "item_ammo_revolver_ttt" SWEP.Primary.Sound = Sound( "Weapon_revolver.Single" ) SWEP.ViewModel = "models/weapons/v_357.mdl" SWEP.WorldModel = "models/weapons/w_357.mdl" SWEP.IronSightsPos = Vector( -5.15, -2, 3.6 )