// Variables that are used on both client and server SWEP.Base = "weapon_mad_base_sniper" SWEP.ViewModelFlip = true SWEP.ViewModel = "models/weapons/v_snip_g3sg1.mdl" SWEP.WorldModel = "models/weapons/w_snip_g3sg1.mdl" SWEP.HoldType = "ar2" SWEP.Spawnable = true SWEP.AdminSpawnable = false SWEP.Primary.Sound = Sound("Weapon_G3SG1.Single") SWEP.Primary.Recoil = 3 SWEP.Primary.Damage = 25 SWEP.Primary.NumShots = 1 SWEP.Primary.Cone = 0.0005 SWEP.Primary.Delay = 0.15 SWEP.Primary.ClipSize = 20 // Size of a clip SWEP.Primary.DefaultClip = 20 // Default number of bullets in a clip SWEP.Primary.Automatic = false // Automatic/Semi Auto SWEP.Primary.Ammo = "StriderMinigun" 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_rifle" // "effect_mad_shell_pistol" or "effect_mad_shell_rifle" or "effect_mad_shell_shotgun" SWEP.ShellDelay = 0 SWEP.IronSightsPos = Vector (5.4112, -3, 2.1489) SWEP.IronSightsAng = Vector (0, 0, 0) SWEP.RunArmOffset = Vector (-2.6657, 0, 3.5) SWEP.RunArmAngle = Vector (-20.0824, -20.5693, 0) SWEP.ScopeZooms = {6} /*--------------------------------------------------------- Name: SWEP:Precache() Desc: Use this function to precache stuff. ---------------------------------------------------------*/ function SWEP:Precache() util.PrecacheSound("weapons/g3sg1/g3sg1-1.wav") end