
if ( SERVER ) then

	AddCSLuaFile( "shared.lua" )
	
end

if ( CLIENT ) then

	SWEP.PrintName			= "IMI Desert Eagle"			
	
	SWEP.ViewModelFOV      = 72
	SWEP.Slot				= 1
	SWEP.SlotPos			= 1
	SWEP.IconLetter			= "IMI Desert Eagel"
	SWEP.Category            = "Israel Military Industries Swep Pack"
	
end

SWEP.Base				= "weapon_lee_base2"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= true

SWEP.ViewModel 			= "models/weapons/v_pistol_deagle.mdl"
SWEP.WorldModel 		= "models/weapons/w_pistol_deagle.mdl"
SWEP.MagModel 			= "models/weapons/unloaded/pist_deagle_mag.mdl"
SWEP.ViewModelFlip		= true

SWEP.Weight				= 4
SWEP.AutoSwitchTo		= true
SWEP.AutoSwitchFrom		= true

SWEP.Primary.Sound			= Sound("Weapon_desert.Single")
SWEP.Primary.Recoil 		= 4
SWEP.Primary.Damage 		= 27
SWEP.Primary.NumShots 		= 1
SWEP.Primary.Cone			= 0.01
SWEP.Primary.ClipSize 		= 7
SWEP.Primary.DefaultClip	= 7
SWEP.Primary.Delay 			= 0.15
SWEP.Primary.Mode			= "semi"
SWEP.WeaponType				= "pistol"
SWEP.Primary.Ammo			= "357"
SWEP.AvailableFireMode    = {"semi"}

SWEP.MuzzleEffect 		= "muzzle_lee_pistol"

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

SWEP.RecoverTime 		= 1
SWEP.DeltaSpread		= 0.0035
SWEP.DeltaRecoil		= 1
SWEP.IronSightTime      = 0.10
SWEP.RunSetTime         = 0.45
SWEP.IronSightZoom 		= 1.0

SWEP.ReloadTable = {}
SWEP.ReloadTable["RemoveClip"] = {}
SWEP.ReloadTable["RemoveClip"].Time = 0.43
SWEP.ReloadTable["RemoveClip"].EmptyTime = 0
SWEP.ReloadTable["RemoveClip"].Cylinder = false
SWEP.ReloadTable["SetClip"] = {}
SWEP.ReloadTable["SetClip"].Time = 1.45
SWEP.ReloadTable["SetClip"].EmptyTime = 0

SWEP.DeltaRecoil		= 0.35
SWEP.DeltaSpread		= 0.015

SWEP.DryFireTimeLess	= 0.6
SWEP.DryFireAnim  		= true
SWEP.UseSilencer 		= false

SWEP.ViewAnimAngleFix = Angle(0,0,10)

SWEP.NewOriginPos = Vector (0, 0, 0)
SWEP.NewOriginAng = Vector (0, 0, 0)

SWEP.IronSightsPos = Vector (2.0113, 0, 1.5341)
SWEP.IronSightsAng = Vector (-0.0224, -0.0883, 0)

SWEP.RunArmOffset = Vector  (-0.4421, 0, 3.6909)
SWEP.RunArmAngle = Vector (-25.1976, -3.3662, 0)
