ScoreboardHide

Ok, long story short - was working, 2 of my 6 Hard Drives failed and caused all the others to stop booting - spent about 2 days pissing about before realising it was one of them - re-installed Windows - PC back up and running - now it doesn’t work… :slight_smile:

I’ve removed the actual scoreboard, as I’ve tried this alone and it’s not working… - **Yes **is printing, **No **is not.



print("Loaded Scoreboard")

SB = {}

function SB.ShowScoreboard()

	print("YES")
	
end
hook.Add( "ScoreboardShow", "ShowScoreboard", SB.ShowScoreboard )

function SB.HideScoreboard()

	print("NO")

end
hook.Add( "ScoreboardHide", "HideScoreboard", SB.HideScoreboard )


No is printing fine for me



] lua_openscript_cl cl_test.lua
Running script cl_test.lua...
Loaded Scoreboard
YES
NO
YES
NO
YES
NO
YES
NO
YES
NO




Ok, thanks. That helps ( kinda ) :stuck_out_tongue: At least I know it ‘should’ work, I knew I wasn’t going crazy.