Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dhud.remove_death(params)
- local player = params.player
- local name = player:get_player_name()
- local id = params.id
- player:hud_remove(dhud[name].deaths[id].killer)
- player:hud_remove(dhud[name].deaths[id].msg)
- player:hud_remove(dhud[name].deaths[id].victim)
- dhud[name].deaths[id] = nil
- print("Dump on deaths: ==<=="..dump(dhud[name].deaths).."==>==\n")
- for i, v in pairs(dhud[name].deaths) do
- print("At "..i.." and moving stuff because I can")
- print("This one's dump is: "..dump(v))
- player:hud_change(dhud[name].deaths[i].killer, "offset", {x=-249, y=7+(16*i)})
- player:hud_change(dhud[name].deaths[i].msg, "offset", {x=-186, y=7+(16*i)})
- player:hud_change(dhud[name].deaths[i].victim, "offset", {x=-164, y=7+(16*i)})
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement