Scoreboard Error Message

[ERROR] addons/ilya_scoreboard_darkrp/lua/autorun/client/vgui_functions_scoreboard.lua:29: attempt to call method ‘SetMaskSize’ (a nil value)

  1. Avatar - addons/ilya_scoreboard_darkrp/lua/autorun/client/vgui_functions_scoreboard.lua:29
  2. Sidebar - addons/ilya_scoreboard_darkrp/lua/autorun/client/cl_scoreboard_dr.lua:126
    3. Draw - addons/ilya_scoreboard_darkrp/lua/autorun/client/cl_scoreboard_dr.lua:268
    4. fn - addons/ilya_scoreboard_darkrp/lua/autorun/client/cl_scoreboard_dr.lua:287
    5. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Im working with a server that uses http://coderhire.com/scripts/view/645 and I keep getting the error message above. It points to ILSB:Sidebar()

[lua]
function ILSB:Draw()
self.BG = ILSB:Box( ScrW()/2-((ScrW()*ILSB[‘ScaleWidth’])/2), ScrH()/2-((ScrH()ILSB[‘ScaleHeight’])/2), ScrW()ILSB[‘ScaleWidth’], ScrH()ILSB[‘ScaleHeight’], ILSB[‘BGColor’])
self.CloseButton = ILSB:Button( self.BG:GetWide()-15, 5, 10, 10, self.BG, function( s, w, h )
draw.RoundedBox( 0, w/2-3, h/2-5, w
0.7, 1, Color( 215, 73, 73))
draw.RoundedBox( 0, w/2-3, h/2-8, w
0.7, 1, Color( 215, 73, 73))
draw.RoundedBox( 0, w/2-3, h/2-2, w
0.7, 1, Color( 215, 73, 73))
end)
self.CloseButton.DoClick = function()
ILSB:Remove()
gui.EnableScreenClicker(false)
end
self.TitleText = ILSB:Text( 210, 3, 300, 60, “nil”, “SB_pagetitle”, Color(200,200,200), self.BG)
self.PlayerCount = ILSB:Text( self.BG:GetWide()-80, 3, 300, 60, “0/”…game.MaxPlayers(), “SB_playercount”, Color(200,200,200), self.BG)
self.PlayerCount.Think = function(s)
s:SetText(#player.GetAll() … “/” … game.MaxPlayers())
end
ILSB:Text( self.BG:GetWide()-80, 20, 300, 60, “PLAYERS”, “SB_playercountlower”, Color(200,200,200), self.BG)
ILSB:Box( 198, 66, ScrW()*ILSB[‘ScaleWidth’]-198, 1, ILSB[‘MainColors’]._lgrey, self.BG)
local g = ILSB:Box( 198, 67, ScrW()*ILSB[‘ScaleWidth’]-198, 4, ILSB[‘MainColors’]._lgrey, self.BG)
g.Paint = function( s, w, h )
surface.SetDrawColor( ILSB[‘MainColors’]._lgreya )
surface.SetTexture( grad_down )
surface.DrawTexturedRect( 0, 0, w, h )
end
ILSB:Sidebar()
return true
end
[/lua]
Anyone have any solutions? The creator doesnt seem to do support very well…

The function mentioned in the error isn’t even in the code you provided, but you can’t send us more of the code since that would be leaking from ch (and would get you banned)

Tbh if the script just doesn’t work then the coderhire admins should be able to do something about it

Ive heard a lot of other people complaining about it too :confused: I guess Im just going to see if it was something that I am doing wrong.