function PlaySoundForPlayer takes player whichPlayer, sound whichSound returns nothing
if ( whichPlayer == GetLocalPlayer() ) then
call PlaySoundBJ( whichSound )
endif
endfunction
or just:
Custom script: call PlaySoundForPlayer( gg_snd_YourSound, udg_snd_YourPlayer )