Hello, can someone help me fix this hud?
Its counting down 15 mins whenever someone on screen dies. But since some update in tibia its randomly count players on screen as "dead".
Code:init start -- local SCRIPT_VERSION = '1.0.1' local fontsize = 7 local fontspacing = fontsize + 6 setfontstyle('Tahoma', fontsize, 75, 0xdb1212, 1, 0x080808) local maxtime = 15*60*1000 setmaskcolorxp(0) init end auto(1000) setposition($clientwin.left + 15, $clientwin.top + 15) local i = 0 foreach deathtimer d do local timeleft = math.floor((maxtime-d.time)/1000) if (timeleft > 0) then local text = time(timeleft) .. ' ['..d.killer..']' local size = measurestring(text) drawtext(d.target, 3, 3 + fontspacing*i) drawtext(text, 3 + 300-size, 3 + fontspacing*i) i = i+1 end end