Wondering if this is possible

So I was wondering (might be a stupid question but I still am trying to learn lua and everything) would it be possible to add something that would make Unassigned players always blinded?

Purpose of this: To help prevent ghosting.

HUDPaint hook, check for LocalPlayer():Team() == TEAM_UNASSIGNED, draw a big fucking black box all over the screen.

I will see if I can sort that out, thanks!


hook.Add("HUDPaint","lol", function()
if LocalPlayer():Team() == TEAM_UNASSIGNED then draw.RoundedBox( 0, 0, 0, ScrW(), ScrH(), Color(0, 0, 0) ) end
end )

Thanks! When I get home from work I will try this out!

This won’t work because opening the console will remove the black. You have to either use colormod, create a VGUI panel to block the entire screen, or you can simply not render the scene.