• Add custome sound and play it
    3 replies, posted
How do I add a custom sound to the server and what is the directory i play it at?
The directory is obviously 'sound'. And adding custom sounds is pretty much the same as adding models and textures.
[QUOTE=Netheous;47572463]The directory is obviously 'sound'. And adding custom sounds is pretty much the same as adding models and textures.[/QUOTE] As he said, the directory is sound. You can use the obvious [URL="http://wiki.garrysmod.com/page/sound/Play"]sound.Play[/URL] if you want to play it for everyone from a certain location or use [URL="http://wiki.garrysmod.com/page/surface/PlaySound"]surface.PlaySound[/URL] if you want to play the file clientside. Just look at the documentation and it should tell you the arguments and such.
[QUOTE=Netheous;47572463]The directory is obviously 'sound'. And adding custom sounds is pretty much the same as adding models and textures.[/QUOTE] Thankyou, And no this was not obvious as I have never used sound in gmod before so i did not know how to folder structure was layed out....
Sorry, you need to Log In to post a reply to this thread.