Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Off-Topic
»
Does playsound work with sound files added by addons and GMAs?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Does playsound work with sound files added by addons and GMAs? (Read 1850 times)
0 Members and 1 Guest are viewing this topic.
Sgt.Blue
Newbie
Posts: 47
Karma: 2
Does playsound work with sound files added by addons and GMAs?
«
on:
May 08, 2014, 09:19:02 AM »
Because that would be very helpful.
Logged
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
Re: Does playsound work with sound files added by addons and GMAs?
«
Reply #1 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"
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Sgt.Blue
Newbie
Posts: 47
Karma: 2
Re: Does playsound work with sound files added by addons and GMAs?
«
Reply #2 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.
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
Re: Does playsound work with sound files added by addons and GMAs?
«
Reply #3 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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Off-Topic
»
Does playsound work with sound files added by addons and GMAs?