Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local set = CreateClientConVar("bio", 0, FCVAR_SERVER_CAN_EXECUTE)
- local glowMaterial = Material("sprites/glow04_noz");
- local glowColor = Color(0, 162, 255, 255);
- hook.Add( "HUDPaint", "Tracking", function()
- for k, v in pairs(player.GetAll()) do
- local pos = v:GetPos()
- if(v:IsAlive() and v:HasInitialized()) then
- cam.Start3D( EyePos(), EyeAngles() );
- render.SetMaterial(glowMaterial);
- render.DrawSprite(Vector(pos.x, pos.y, pos.z + 75), LocalPlayer():GetPos():Distance(v:GetPos()) / 20, LocalPlayer():GetPos():Distance(v:GetPos()) / 20, glowColor);
- cam.End3D();
- draw.SimpleTextOutlined(v:Name(), "DebugFixed", v:EyePos():ToScreen().x, v:EyePos():ToScreen().y - 20, Color(255, 255, 255), 1, 1, 1, Color(0, 0, 0))
- if(v:GetVelocity():Length() != 0) then
- draw.SimpleTextOutlined("<:: Velocity | "..tostring(v:GetVelocity():Length()), "DebugFixed", v:EyePos():ToScreen().x + 155, v:EyePos():ToScreen().y + 20, Color(255, 255, 255), 1, 1, 1, Color(0, 0, 0))
- else
- draw.SimpleTextOutlined("<:: Velocity | "..tostring(v:GetVelocity():Length()), "DebugFixed", v:EyePos():ToScreen().x + 105, v:EyePos():ToScreen().y + 20, Color(255, 255, 255), 1, 1, 1, Color(0, 0, 0))
- end;
- draw.SimpleTextOutlined("<:: Distance | "..tostring(LocalPlayer():GetPos():Distance(v:GetPos())), "DebugFixed", v:EyePos():ToScreen().x + 105, v:EyePos():ToScreen().y + 40, Color(255, 255, 255), 1, 1, 1, Color(0, 0, 0))
- draw.SimpleTextOutlined("<:: Health | "..v:Health(), "DebugFixed", v:EyePos():ToScreen().x + 105, v:EyePos():ToScreen().y, Color(255, 255, 255), 1, 1, 1, Color(0, 0, 0))
- end;
- end;
- end);
Advertisement
Add Comment
Please, Sign In to add comment