Dovresti usare qualcosa di simile:
function headshot( attacker, weapon, bodypart, loss ) --quando viene danneggiato
if ( bodypart == 9 ) then -- 9 sarebbe la testa
outputChatBox ( "Headshot!", getRootElement (), 255, 170, 0 ) --output "Headshot" nella chatbox
killPed ( source, attacker, weapon, bodypart ) -- e la kill c:
end
end
addEventHandler ( "onPlayerDamage", getRootElement (), headshot )
Poi non sò, potresti aggiungere un dxDrawText o un guiCreateStaticImage (con un timer ovviamente)
Spero di esserti stato d'aiuto c:
fonte: wiki c: