General > Developers Corner
CURSE YOU SOUND
Megiddo:
I've heard from many sources that MP3's don't work, but wavs work fine.
EDIT: What's the output from the _Msg() function?
Golden-Death:
I've tried using the exact code that worked in a swep via console/this script, it doesn't play, but it works fine in the script.
And me entering:
_PlaySound("elvis.mp3") inside the swep works.
I put that exact same thing in a simple
function lol()
_PlaySound("elvis.mp3")
end
and it still doesnt work.
--- Code: ---] lua_openscript GuessThatMusic/init.lua
] startmusicgame
Picked: 3
GTMSongs/s1.mp3
A game of 'Guess That Music' by Golden-Death has been started!
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version