Just wondering, is this how you play sounds properly? I have the sounds folder in my gamemode folder itself. wondering if this would work? Anything I need to change for it to work?

[LUA] util.PrecacheSound(“sounds/music/Brains! - Voltaire.wav”)

function GM:PlayerInitialSpawn( ply )

local music1 = Sound(“Brains! - Voltaire.wav”)

end [/LUA]

Also, whats a better way to play this music serverside?

I’m pretty sure it’s:
ply:EmitSound(music1, 100, 100)


Fixed, thanks.

[editline]16th July 2012[/editline]


[editline]16th July 2012[/editline]


Make a folder named content in your gamemode folder then put the sounds in that folder.