[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:81: attempt to perform arithmetic on field 'Width' (a nil value)

[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:81: attempt to perform arithmetic on field ‘Width’ (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:81

This is an error coming from a script for a ranked TTT scoreboard on my server, and whenever I hit tab I get an error with the above message. I’m not much of a coder, so I’d appreciate any help I can get.
Below is my sb_team.lua
http://pastebin.com/UkEiJZyg
Line 81 is cx = cx - v.Width but I’m not sure what to do with it.

Try replacing v.Width with v:GetWide()

Still getting the same error, but scoreboard still looks the same

If you’re getting the exact same error, but you changed it to v:GetWide(), then your code isn’t updating. Restart the server.

My apologies, it wasn’t the exact same error, but it was VERY similar

[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:83: attempt to perform arithmetic on field ‘Width’ (a nil value)

  1. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:83

The pastebin in the original post has been updated to current status.

  1.        surface.DrawRect(cx-v.Width/2, 0, v.Width, self:GetTall())
    

should also be v:GetWide()

What exactly should that line look like, not sure where to put GetWide.

Did that and got:
[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:83: bad argument #3 to ‘DrawRect’ (number expected, got nil)

  1. DrawRect - [C]:-1
  2. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:83

Did that and got:
[ERROR] gamemodes/terrortown/gamemode/vgui/sb_team.lua:83: bad argument #3 to ‘DrawRect’ (number expected, got nil)

  1. DrawRect - [C]:-1
  2. unknown - gamemodes/terrortown/gamemode/vgui/sb_team.lua:83