I own a TDM Server, and well whenever I get on someone says anything, so I can't really keep an eye on things if everyone knows I'm on and starts behaving you know?
I'm basing this off several minecraft videos that I've watched and servers that have SV --- Super Vanish... The only thing that I want is my name to not appear in the menus / Scoreboard.
I can snippet part of my Current Scoreboard, at least the part that my dev friend says I need to edit.
local pos = Vector( red:GetPos() )
spec = vgui.Create( "DPanel" )
spec:SetPos( pos.x, pos.y + ScrH() - ( ScrH() / 8 ) + 3 )
spec:SetSize( 1170, 30 )
spec.Paint = function()
surface.SetDrawColor( 255, 255, 255, 222 )
surface.DrawRect( 0, 0, spec:GetSize() )
surface.SetTextColor( black )
surface.SetTextPos( 5, 5 )
surface.SetFont( "Exo 2 Content" )
local asd = {}
for k, v in next, team.GetPlayers( 0 ) do
table.insert( asd, v:Nick() )
end
surface.DrawText( "Spectators: " .. table.concat( asd, ", " ) )
end
end
function GM:ScoreboardShow()
CreateScoreboard()
end
function GM:ScoreboardHide()
if not ( red and blue ) then
return
end
red:SetVisible( false )
blue:SetVisible( false )
if spec then
spec:SetVisible( false )
end
end
My Dev is taking a break, so I'm taking back over the coding portions, I haven't touched it in a while and I would love some help!