Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- api_version = "1.6.0.0"
- function OnScriptLoad()
- register_callback(cb["EVENT_KILL"], "displayRemainingHP")
- end
- function OnScriptUnload() end
- function displayRemainingHP(killer, victim)
- say(victim, "You left " .. get_var(killer, "$name") .. " with " .. math.floor(get_var(killer, "$hp") * 8 + 0.5) .. " HP");
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement