Originally Posted by semlar
The path for PlayMusic is "interface/addons/ZeldaShop/YourSoundFile.mp3" (with forward slashes and the quotes) and assuming your addon is named "ZeldaShop".
You also need to entirely exit and restart the game to load any new files into it.
|
Originally Posted by Eungavi
I meant your addon's folder, not Interface\AddOns
+ IIrc, the upper most folder of each addon is their own folders.
So, if you have an addon called ZeldaShop and got a sound file called ZeldaShop.mp3 in that addon folder then it'd be something like this.
Lua Code:
PlayMusic("ZeldaShop.mp3")
Seems, I'm wrong.
Follow semlar's comment
|
IT WORKS! THANK YOU GUYS SO MUCH! I APPRECIATE ALL THE HELP OMG!!! When you open up a vendor the music begins to play and stops as soon as you close it!
)))