• Custom Sounds for a custom SWEP
    6 replies, posted
-snip-
SWEP.Primary.Sound = Sound("predsnipe") this is the answer, change "predsnipe" to "predsnipe.wav" make sure that you have the file put correctly in your garry's mod folder. Also remember to put all code in Lua tags, it looks much nicer this way.
-snip-
You can't really just use the base and just change the base, since Mad Cows uses custom things like SWEP.BoltActionSniper and RunArmOffset and whatever. That doesn't even exist in cs_base. I suggest you start to learn some Lua.
-snip-
First, don't copy the base and then change it. It... just doesn't work. Second, make sure you have the sound in the right folder, the sounds folder. Make sure the extension is correct too. Third, you don't really need to precache it, but I guess you can if you want.
-snip-
Sorry, you need to Log In to post a reply to this thread.