SWEP Reload Sounds Aren't Working - Please Help !!

Hello,

I have been working on a new SWEP pack for Garrysmod.org

I have fixed the world models and added some cool effects to the weapons.

Basically, The problem is that the firing sound works, but the Reloading sounds dont work.

I already know about SWEP.Reload () Emit.Sound but that sucks. If you touch the Reload button it just starts to repeat the reloading sound and speeds up and generally sounds terrible.

I have spent alittle over two days looking for a way to fix this problem.

The Code for my swep.


-- Read the weapon_real_base if you really want to know what each action does

if (SERVER) then
	AddCSLuaFile("shared.lua")
	SWEP.HoldType 		= "ar2"
end

if (CLIENT) then
	SWEP.PrintName 		= "AK-74u"
	SWEP.Slot 			= 3
	SWEP.SlotPos 		= 1
	SWEP.IconLetter 		= "b"

	killicon.AddFont("weapon_dragon_ak74u", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )
end

SWEP.EjectDelay			= 0.05

SWEP.Instructions 		= "Point away from face !!"

SWEP.Base 				= "weapon_dragon_base_rifle"

SWEP.Spawnable 			= true
SWEP.AdminSpawnable 		= true

SWEP.ViewModel 			= "models/weapons/v_drg_ak7.mdl"
SWEP.WorldModel 		= "models/weapons/w_dragon_ak74u.mdl"

SWEP.Primary.Sound 		= Sound("weapons/ak74/single-1.wav")
SWEP.Primary.Reload 		= Sound("weapons/ak74/reload.wav")
SWEP.Primary.Empty		= Sound( "Weapon_SMG1.Empty" )
SWEP.Primary.Recoil 		= 1
SWEP.Primary.Damage 		= 33
SWEP.Primary.NumShots 		= 1
SWEP.Primary.Cone 		= 0.023
SWEP.Primary.ClipSize 		= 30
SWEP.Primary.Delay 		= 0.1
SWEP.Primary.DefaultClip 	= 30
SWEP.Primary.Automatic 		= true
SWEP.Primary.Ammo 		= "smg1"

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

SWEP.IronSightsPos 		= Vector (6.0816, -7.8745, 2.5074)
SWEP.IronSightsAng 		= Vector (2.4511, -0.0486, 0)


Thank You In Advance
I also have a sound script that came with the weapon, just ask if you need that too.

I will also give credit in the release!!!

http://www.facepunch.com/showthread.php?t=918986

I have had the same problems, but eventually they were fixed. If you download my swep and check out the shared.lua file, at the end there is a reload sound function.

Thanks M8, but I already found your thread and sorted the problem out :smiley:

Thanks for contacting me tho, its much appreciated :smiley: