Ulysses

General => Off-Topic => Topic started by: Sgt.Blue on May 08, 2014, 09:19:02 AM

Title: Does playsound work with sound files added by addons and GMAs?
Post by: Sgt.Blue on May 08, 2014, 09:19:02 AM
Because that would be very helpful.
Title: Re: Does playsound work with sound files added by addons and GMAs?
Post by: JamminR on May 08, 2014, 09:48:11 AM
It should.
You'd need to know the exact 'virtual' path though.
Example - Your addon/GMA uses its path as sounds/SuperAddon/sound.wav
You'd use "ulx playsound SuperAddon/sound.wav"
Title: Re: Does playsound work with sound files added by addons and GMAs?
Post by: Sgt.Blue on May 08, 2014, 11:37:24 AM
Well I asked because I was planning to add some sounds to my server via the workshop.
Title: Re: Does playsound work with sound files added by addons and GMAs?
Post by: MrPresident on May 08, 2014, 10:54:23 PM
I can confirm that Workshop added resources (sounds included) function just like any other resource. You can use them with ulx playsound or any other play sound function.