How do I use forceddownload?
Insert the files you want people to download into a ULX config file (server.ini, per-map configs, per-gamemode configs).
The format for the command is: ulx addForcedDownload "<file/folder>" [<recursive]
You can add a folder to add all files inside that folder. If recursive is 1 it will also add all files from any sub-folders. (ULX v3.20+ only!)
Linux folder notation ('/' not '\') is preferred.
Add a file from the garrysmod root. IE, if you have /garrysmod/sound/mycoolsounds/awesome.mp3, you'd use the following command:
ulx addForcedDownload "sound/mycoolsounds/awesome.mp3"
Never, ever have /addons/<mod> in addForceDownload! If you have something like addons/mycoolsoundpack/sound/mycoolsounds/awesome.mp3", you'd use the same command as above.
If you're using sv_downloadurl (if you don't know what it is, ignore this bit) then you'll need to stick what you're forcing to download in with the rest of the sv_downloadurl resources, using the same folder format.
How do I use playsound?
Format for playsound: "ulx playsound <file>"
Linux folder notation ('/' not '\') is preferred.
Start the playsound with "sound" as root, so to play an explosion sound, you'd do this:
ulx playsound "ambient/explosions/explode_1.wav"
Added those to FAQs