Stoping sounds

I’m making a sprint timer, and the mechanics are sll done, but i want it to play a heavy breathing sound, but the only one i can find the comes with gmod is a infinite loop. I know there used to be a code to stop a spesific sound, but i cant find on for gmod 13. any ideas?

Thanks,
Cole

This wiki is outdated, but this should work fine:

already tried that, not working

Can you show us the code?

If you’re using EmitSound all you can really do is make the client execute the command stopsound, but that will stop all other sounds too. Otherwise you’ll have to use:

which will return a CSoundPatch, which you can stop using:

thanks, thats working