Join Sound

Anyway to make it so when a player joins they hear a specific mp3 that Ive put on the server? Ive already tried all of the codes in this thread unless im doing it wrong.
http://www.facepunch.com/threads/948776

Heres what im currently using
[lua]AddCSLuaFile(“joinsong.lua”);

if ( SERVER) then
function userAuthed( ply, stid, unid )
if stid == “STEAM_000000” then umsg.Start(“playzesound”)
umsg.End()
end
end
hook.Add( “PlayerAuthed”, “playerauthed”, userAuthed )
end

if (CLIENT) then
function playmysong()
surface.PlaySound(“joinsound.mp3”)
end
end
usermessage.Hook(“playzesound”, playmysong)[/lua]

Use the PlayerInitialSpawn hook and maybe an additional timer.

[lua]hook.Add(“InitPostEntity”, “joinsound”, surface.PlaySound, “joinsound.mp3”)[/lua]
[lua]hook.Add(“InitPostEntity”, “joinsound”, function()
if LocalPlayer():SteamID() == “STEAM_0000” then
surface.PlaySound(“joinsound.mp3”)
end
end)[/lua]

[editline]25th October 2011[/editline]

wow i read this all wrong lol

[editline]25th October 2011[/editline]

I’m not sure what you want, the thread you specified seem to have working examples.