Guest User

Untitled

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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×