timers={}
hook.Add("Think", "nlrtimer", function() --то что может конфликтовать
if not(LocalPlayer():Alive()) and not(isdeath) then
isdeath=true
pos=LocalPlayer():GetShootPos()
table.insert(timers,{pos,CurTime()+300})
timer.Simple(299,function() table.remove(timers, 1) end)
end
if isdeath and LocalPlayer():Alive() then
isdeath=nil
end
end)
hook.Add( "HUDPaint", "NLRDRAW", function() --отрисовка в мире
for k, v in pairs(timers) do
draw.SimpleTextOutlined("GaySex: "..math.floor(v[2]-CurTime()).." sec", "Default", (v[1]:ToScreen()).x, (v[1]:ToScreen()).y, Color(255, 10, 10), 0, TEXT_ALIGN_TOP, 1, Color(0, 0, 0))
end
end)