// Variables that are used on both client and server SWEP.Base = "weapon_mad_base" SWEP.ViewModelFlip = true SWEP.ViewModel = "models/weapons/v_smg_tmp.mdl" SWEP.WorldModel = "models/weapons/w_smg_tmp.mdl" SWEP.HoldType = "ar2" SWEP.Spawnable = true SWEP.AdminSpawnable = false SWEP.Primary.Sound = Sound("Weapon_TMP.Single") SWEP.Primary.Recoil = 0.4 SWEP.Primary.Damage = 12 SWEP.Primary.NumShots = 1 SWEP.Primary.Cone = 0.022 SWEP.Primary.Delay = 0.07 SWEP.Primary.ClipSize = 30 // Size of a clip SWEP.Primary.DefaultClip = 30 // Default number of bullets in a clip SWEP.Primary.Automatic = true // Automatic/Semi Auto SWEP.Primary.Ammo = "Battery" SWEP.Secondary.ClipSize = -1 // Size of a clip SWEP.Secondary.DefaultClip = -1 // Default number of bullets in a clip SWEP.Secondary.Automatic = false // Automatic/Semi Auto SWEP.Secondary.Ammo = "none" SWEP.ShellEffect = "effect_mad_shell_pistol" // "effect_mad_shell_pistol" or "effect_mad_shell_rifle" or "effect_mad_shell_shotgun" SWEP.Pistol = true SWEP.Rifle = false SWEP.Shotgun = false SWEP.Sniper = false SWEP.IronSightsPos = Vector (5.2307, -1.1257, 2.5274) SWEP.IronSightsAng = Vector (0.6528, -0.031, 0) SWEP.AllowPlaybackRate = false /*--------------------------------------------------------- Name: SWEP:Precache() Desc: Use this function to precache stuff. ---------------------------------------------------------*/ function SWEP:Precache() util.PrecacheSound("weapons/tmp/tmp-1.wav") end