Troubles with Chams
So I keep running into the problem where my chams, when turned on, messes with all other HUDPaint functions; including but not limited to: Other cheats I've made such as player info display (like names and shit tru walls), and also the main problem, the scroll wheel hud doesn't appear when tryna switch weapons. Since I am a #LuaNoob, and tryna do this by learning, can someone help inform me? Here's the code:
Code:
hook.Add( "HUDPaint", "PlayerChams", function()
for k, v in pairs (ents.FindByClass("player")) do
cam.Start3D(EyePos(), EyeAngles())
if UtilityCheck(v) == true then
render.SuppressEngineLighting(true)
render.SetModelLighting(255, 255, 255)
v:DrawModel()
render.SuppressEngineLighting(false)
cam.End3D()
end
end
end)
