What's wrong with:
PHP Code:
//#CLIENTSIDE
function onPlayerEnters(){
playlooped("stef12.mid");
}
(though I'd personally use a class to handle stuff such as whether the player has chosen an option to disable music or prefers an MP3 to be played instead where applicable)