I want to make a sound play when I enter my own server, and learn how to make it.
At the moment, I’ve gotten this.
[lua]function FirstSpawn ( ply )
if ply:steamid() == “STEAM_0:0:14328487” then
ply:ConCommand (“play itisgood.mp3”)
end hook.Add ( "Playerinitialspawn", "playerInitialSpawn", FirstSpawn )[/lua]