Originally posted by Fort Man, post: 46158:
Yes I actually get this, but how do I make it so that i plays a custom sound?
----------------------------------------------------------------------------
--_SWEPSetSound(MyIndex, "single_shot", "Weapon_AWP.Single") --play an awp sound everytime we shoot
_EntEmitSound(MyIndex, "Weapon_AWP.Single") --Make the weapon emit an AWP sound
Copy any .wav file to "gmod9/sound/" and point the 2nd argument of _EntEmitSound to that file, e.g.
_EntEmitSound(MyIndex, "fortman/railgun.wav")
