SetFont

I am attempting to set a font using a created font. Whats going wrong?

player_row.lua
[lua]
–line 4
surface.CreateFont( “ScoreboardPlayerName”,
{
font = “coolvetica”,
size = 19,
weight = 600,
antialias = true,
italic = false
}
)
surface.CreateFont( “ScoreboardPlayerNameBig”,
{
font = “coolvetica”,
size = 22,
weight = 6500,
antialias = true,
italic = false
}
)
–line 23

–line 127
self.lblTeam:SetFont( “ScoreboardPlayerName” )
[/lua]



[ERROR] gamemodes/flood1.8-13/gamemode/scoreboard/player_row.lua:127: attempt to call method 'SetFont' (a nil value)
  1. unknown - gamemodes/flood1.8-13/gamemode/scoreboard/player_row.lua:127


What is lblTeam?



self.lblTeam 	= vgui.Create( "Label", self )


Label does not implement SetFont, it you have to use DLabel.

-snip-