So I've been working on a prop ESP, and here's what I got so far. (Keep in mind, i'm a skrub at coding xD)
hook.Add( "HUDPaint", "PropESP", function()
if GetConVarNumber(cmdStr.."_propesp") == 1 then
for k,v in pairs ( ents.FindByClass( "prop_physics" ) ) do
cam.Start3D(EyePos(), EyeAngles())
if v:IsValid() then
render.SetColorModulation( 0, 255, 0, 0)
render.SetBlend( 1 )
v

rawModel()
cam.End3D()
end
end
end
end)
My issue is that I want to make the props slightly opaque (See through) but they're not. I want them to stay visible through walls, like they are. But I can't get it opaque. If anyone can help, that'd be epic!