so it well be like this ?
bodypartImage = {
[3] = 'torso.png',
[4] = 'ass.png',
[5] = 'leftarm.png',
[6] = 'rightarm.png',
[7] = 'leftleg.png',
[8] = 'rightleg.png',
[9] = 'head.png',
}
addEventHandler('onClientPlayerWasted', getRootElement(),
function(killer, weapon, bodypart)
if(getElementType(attacker) == 'player') then
screenX, screenY = guiGetScreenSize()
width = 350
height = 348
guiCreateStaticImage((screenX/2)-(width/2), (screenY/2)-(height/2), width, height, bodypartImage[bodypart], false)
end
end)