motd html

I make a html motd with music in the background the file type of the sound file is .mp3 and when i go into game the music plays but cuts off like half way into the song… help?

I beg your pardon?

:frog:

Because the html panel(?) is closed when the player finally enters the server, therefore cutting off the song.

Also the get out is just dumb in that case.

sooooo how do i make it play the entire song

Not sure what you’re attempting to do but uh if you’re doing a gamemode you can do
[lua]
function GM:PlayerInitialSpawn(pl)
umsg.Start(“Sound”,pl)
umsg.String(songnamehere)
umsg.End()
end
–clientside purt hurr
usermessage.Hook(“Sound”,function()
surface.PlaySound(um:ReadString())
end)
[/lua]

um is nil. Also he wants to continue playing his song from his html even after the loading screen has stopped im guessing, which is impossible

whoops, forgot to add um in the arguments, am only human.