HUD problems.

I recently changed my shared.lua and addentities.lua and updated my steam using TCAdmin, and have been getting this error in my console:
[ERROR] gamemodes/darkrp/gamemode/client/hud.lua:95: attempt to call method ‘getDarkRPVar’ (a nil value)

  1. DrawInfo - gamemodes/darkrp/gamemode/client/hud.lua:95
  2. DrawHUD - gamemodes/darkrp/gamemode/client/hud.lua:232
  3. unknown - gamemodes/darkrp/gamemode/client/hud.lua:344

and in my .lua file, this is in line 95:
local Salary = LANGUAGE.salary … GAMEMODE.Config.currency … (localplayer:getDarkRPVar(“salary”) or 45)
Line 232:
Line 344:

And I haven’t changed a single thing in the hud.lua .

[editline]16th June 2013[/editline]

It turns out something in my shared.lua was wrong, because I reverted to the default and it works. Once I figure out why it wasn’t working I will post it here.