--tracelines
CreateClientConVar( "tracers", 0, true, false)
hook.Add("HUDPaint", "tracelines", function()
if defcon.Settings["tracelines"] and GetConVarNumber("tracers") == 0 then
for k,v in pairs ( player.GetAll() ) do
if SafeCheck(v) == true then
local pos = (v:EyePos()):ToScreen()
local col = team.GetColor(v:Team())
surface.SetDrawColor (col);
surface.DrawLine(ScrW() / 2, ScrH() / 2, pos.x, pos.y);
end
end
end
end)
---
local function walldetect()
local eye = em.EyePos(me);
local tr = util.TraceLine({
start = eye,
endpos = (eye + (am.Forward(fa) * 10)),
mask = MASK_ALL,
});
if(tr.Hit) then
ox = -181;
oy = -90;
end
end
---
local function SafeCheck(v)
if v ~=LocalPlayer() and v:IsValid() and v:GetActiveWeapon():IsValid() then
return true
else
return false
end
end
I would like another code than to close the function
Nobody's gonna help you with a cheat here.
speak for yourself, big guy
for you
I would just like to do,that we trace it or do we see where the npcs are?
Sorry, you need to Log In to post a reply to this thread.