View Single Post
03-13-18, 06:32 PM   #12
WhirlyTV
A Murloc Raider
Join Date: Mar 2018
Posts: 6
Originally Posted by semlar View Post
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 View Post
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:
  1. 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! )))
  Reply With Quote