thanks I will try script with it
addEventHandler( "onPlayerWasted", getRootElement( ),
function() wasted (killer, weapon, bodypart)
local sound = playSound ("song.mp3", true)
setSoundVolume(sound, 0.5)
end
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )
Is it correct ? i'm new in scripting