// Variables that are used on both client and server SWEP.Base = "weapon_mad_base" SWEP.ViewModel = "models/weapons/v_mach_m249para.mdl" SWEP.WorldModel = "models/weapons/w_mach_m249para.mdl" SWEP.HoldType = "ar2" SWEP.Spawnable = true SWEP.AdminSpawnable = false SWEP.Primary.Sound = Sound("Weapon_M249.Single") SWEP.Primary.Recoil = 1 SWEP.Primary.Damage = 30 SWEP.Primary.NumShots = 1 SWEP.Primary.Cone = 0.03 SWEP.Primary.Delay = 0.08 SWEP.Primary.ClipSize = 100 // Size of a clip SWEP.Primary.DefaultClip = 100 // Default number of bullets in a clip SWEP.Primary.Automatic = true // Automatic/Semi Auto SWEP.Primary.Ammo = "AirboatGun" 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.Pistol = false SWEP.Rifle = true SWEP.Shotgun = false SWEP.Sniper = false SWEP.IronSightsPos = Vector (-4.4153, 0, 2.1305) SWEP.IronSightsAng = Vector (0, 0, 0) SWEP.RunArmOffset = Vector (2.2344, -2.2257, 1.7539) SWEP.RunArmAngle = Vector (-19.3086, 29.9962, 0) /*--------------------------------------------------------- Name: SWEP:Precache() Desc: Use this function to precache stuff. ---------------------------------------------------------*/ function SWEP:Precache() util.PrecacheSound("weapons/m249/m249-1.wav") end