daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest May 27th, 2014 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function dhud.remove_death(params)
  2.         local player = params.player
  3.         local name = player:get_player_name()
  4.         local id = params.id
  5.         player:hud_remove(dhud[name].deaths[id].killer)
  6.         player:hud_remove(dhud[name].deaths[id].msg)
  7.         player:hud_remove(dhud[name].deaths[id].victim)
  8.  
  9.         dhud[name].deaths[id] = nil
  10.  
  11.         print("Dump on deaths: ==<=="..dump(dhud[name].deaths).."==>==\n")
  12.  
  13.         for i, v in pairs(dhud[name].deaths) do
  14.                 print("At "..i.." and moving stuff because I can")
  15.                 print("This one's dump is: "..dump(v))
  16.                 player:hud_change(dhud[name].deaths[i].killer, "offset", {x=-249, y=7+(16*i)})
  17.                 player:hud_change(dhud[name].deaths[i].msg, "offset", {x=-186, y=7+(16*i)})
  18.                 player:hud_change(dhud[name].deaths[i].victim, "offset", {x=-164, y=7+(16*i)})
  19.         end
  20. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top