Name M4SBR
ShortName M4SBR
//The ammo this gun uses (shortName)
Ammo 30rndStanag
Ammo 30rndStanagHP
Ammo 30rndStanagAP
Ammo 30rndStanagAPIT
Ammo 30rndStanagTracer
Icon M4SBR
//Colour in Red, Green, Blue, each going up to 255.
Colour 255 255 255
//Reload time in ticks, 1/20ths of a second
ReloadTime 40
//The amount of gun recoil, all relative : Sten = 1, Mp40 = 3, ColtSniper = 20
//Damage in half hearts
Damage 1
//The higher this value, the more the bullets spread
Accuracy 0
//Time in ticks between rounds
RoundsPerMin 650
ShootSound M16Shoot
ReloadSound M16Reload
EmptyClickSound emptyclick

Mode FullAuto SemiAuto
//Modifiers

//Bullet speed, default 3.0
BulletSpeed 8.5
Scope None
Deployable False
DeployedModel None
Model dpn.M4SBR
Texture LWM4SBR
ModelScale 1.1
//List here all the attachments allowed on this gun by shortName and separated by spaces
AllowAttachments dpnACOG SilencerRifle dpnRedDot Foregrip Angledgrip 1x40RedDot RedDotReflex
AllowBarrelAttachments true
AllowScopeAttachments true
AllowStockAttachments false
AllowGripAttachments true
AllowGadgetAttachments false

NumGenericAttachmentSlots 1
EmptyClickSound emptyclick

//Recoil
Recoil 0.70
RandomRecoilRange 0.2
RandomRecoilYawRange 0.15
DecreaseRecoil 0.2
DecreaseRecoilYaw 2

//FlashModel dpn.LWMuzzleFlash
//FlashTexture FlashTest

Description Medium Ammunition :  5.5645mm
CasingModel dpn.ShellCasingM
CasingTexture SkinRPD

ShowAccuracy true
ShowReloadTime true
DistortSound False
ReloadSoundRange 5
GunSoundRange 140
OneHanded false
//Server Stuff
GunCategory 6