// Normalkill announce

sm_mode set i

alias set_hl "sm_sayformat 255 255 255 0.02 0.90 2 0.02 6 0.01 0.1 2" //Normal kill
alias set_nk "sm_sayformat 220 80 0 0.05 0.15 0 6 12 1 2 2" //Normal kill 2

sm_menu "Normalkill announce\\y\\R{sm_mode&i?ON:OFF}" "sm_mode {sm_mode&i?remove:set} i"


// Normal kill
sm_reg "SM_DeathMsg i" "sm_tell #{k.uid} \'{k.a{v.id}.damage} damage / {k.a{v.id}.hits} hit(s) / {{k.a{v.id}.dist}*0.0254} m\' 4" ade "5=0"
//sm_reg "SM_DeathMsg i" "sm_tell #{v.uid} \'* {k.name} with {V4} still has {k.health}hp and {k.armor}ap >>{k.a{v.id}.head? head\: $}{k.a{v.id}.chest? chest\: $}{k.a{v.id}.stomach? stomach\: $}{k.a{v.id}.leftleg? leftleg\: $}{k.a{v.id}.rightleg? rightleg\: $}{k.a{v.id}.leftarm? leftarm\: $}{k.a{v.id}.rightarm? rightarm\: $}\' 3" ade "5=0"

// Like above but as HUD message
sm_reg "SM_DeathMsg i" "set_nk;sm_tell #{v.uid} \'{k.name} killed you with {V4}\\nfrom distance of {{k.a{v.id}.dist}*0.0254} meters\\n{k.name} still has {k.health} HP & {k.armor} AP.\\nYou did {v.a{k.id}.damage} damage to them.\\n{k.name} did {k.a{v.id}.damage} damage and hit you in:\\n{k.a{v.id}.head?head $\\n}{k.a{v.id}.chest?chest $\\n}{k.a{v.id}.stomach?stomach $\\n}{k.a{v.id}.leftleg?left leg $\\n}{k.a{v.id}.rightleg?right leg $\\n}{k.a{v.id}.leftarm?left arm $\\n}{k.a{v.id}.rightarm?right arm $\\n}\' " ade "5=0"

// Normal kill with sound for killed
//sm_reg "SM_DeathMsg i" "sm_clexec #{v.uid} \'spk \\'vox/{W.{k.health}} health and {W.{k.armor}} armor\\'\'" ade