• Dumb probably already answered question (sound-script resource)
    1 replies, posted
How do i load a script resource for sweps? I've looked around the forums and found in other topics they've discussed it, but I'm writing an addon and these don't seem to be working. /<addon>/scripts/sounds/stuff.txt Will i have to place them outside of the addons folder? Some other people said i should add them to [quote]garrysmod\scripts\sounds[/quote] but thats kind of dirty, is there no solution besides that?
I don't think the game loads sound scripts in addon folders, so you would have to do it the 'dirty' way. An alternative would be to use [b][url=http://wiki.garrysmod.com/?title=Util.PrecacheSound]Util.PrecacheSound[/url][/b] and then deal with all of the weapon sounds from inside a Lua script.
Sorry, you need to Log In to post a reply to this thread.