

Anyways, I don't care, looks pretty coolAddHook("HUDPaint", function()
local a = {["x"] = ScrW() / 2, ["y"] = ScrH() / 2}
for k,v in pairs(player.GetAll()) do
if IsAlive(v) then
local b = v:GetPos():ToScreen()
if b.x <= ScrW() and b.y <= ScrH() then
surface.SetDrawColor(IsPlayerVisible(v) and Color(0,255,0,150) or Color(255,0,0,150))
surface.DrawLine(a.x, a.y, b.x, b.y)
end
end
end
end)
for k, e in pairs( player.GetAll() ) do
if (LORD.CVARS.Bools["ESP: Show tracers"].cvar:GetBool() && e:Team() != TEAM_SPECTATOR && e != LORD.ply() && e:Health() > 0 && LORD.CVARS.Bools["Chams"].cvar:GetBool() && LORD.ply():GetObserverTarget() != e) then
local x = ScrW() / 2;
local y = ScrH() / 2;
local pos = e:GetPos():ToScreen();
local time = CurTime()
local r = math.abs(math.sin(time * 2 ) * 255)
local g = math.abs(math.sin(time * 2 + 2 ) * 255)
local b = math.abs(math.sin(time * 2 + 4 ) * 255)
surface.SetDrawColor( 0, 255, 0, 255 );
if table.HasValue( LORD.FriendsTable, tostring( e:Nick() ) ) then
surface.SetDrawColor( r, g, b, 255 );
end
if(LORD.IsTTT && e:IsTraitor()) then
surface.SetDrawColor( 255, 0, 0, 255 );
end
if(LORD.IsTTT && e:IsDetective()) then
surface.SetDrawColor( 0, 0, 255, 255);
end
surface.DrawLine(x, y, pos.x, pos.y);
end
end