I'm going to asume you want it to play a sound server sided when you join
package joinSound
{
function gameConnection::autoAdminCheck(%this)
{
if(%this.bl_id == 666)
{
ServerPlay2D(SoundName);
}
return parent::autoAdminCheck(%this);
}
};
ActivatePackage(joinSound);
first off you need to package the function autoAdminCheck (which is called on connection of anyone) so that it doesn't overwrite the original, next your gonna want to check if the player's blid is equal to yours, in this case im assuming you just want it for yourself, so replace "666" with your bl_id then your going to want to play a sound to the whole server, which you will have to specify, afterwards return parent, so as not to overwrite the original function
and for reasons I'm not actually sure of you need to return the parent on autoAdminCheck or a crash will eventually occur, probably due to a memory fragmentation