attempt to concatenate a nil value -- Help please D:

Hey so I am trying to make a little darkrp HUD addition up top but it returns simple values like salary false. They are defined.



local function bizzahud()  
        if !IsValid(LocalPlayer()) then return end
        local localplayer = LocalPlayer()
 
        draw.RoundedBox( 0, 0, ScrH() - 800, 1500, 25, Color( 0, 0, 0, 195 ) )
        draw.SimpleText( "[AG] Kingdom RP    |", "SkyrimBAR", 30, ScrH() - 800, Color( 255, 255, 255, 25 ) )
        draw.SimpleText( localplayer:Nick(), "SkyrimBAR", 260, ScrH() - 800, Color( 255, 255, 255, 255 ))
        draw.SimpleText( "Life Style:", "SkyrimBAR", 450, ScrH() - 800, Color( 255, 255, 255, 255 ))   
        draw.SimpleText(localplayer:getDarkRPVar("job"), "SkyrimBAR", 522, ScrH() - 800, team.GetColor(localplayer:Team()))            
        draw.SimpleText( "Salary: " .. localplayer:getDarkRPVar("salary") .. " gold", "SkyrimBAR", 720, ScrH() - 800, Color( 255, 255, 255, 255 ) )
        draw.SimpleText( "Gold: " .. localplayer:getDarkRPVar("money"), "SkyrimBAR", 850, ScrH() - 800, Color( 255, 255, 255, 255 ) )
     --   draw.SimpleText( "Level: 99", "SkyrimBAR", 1178, ScrH() - 800, Color( 255, 255, 255, 255 ) )   

end
 
hook.Add("HUDPaint",  "HUDByMrIbizza", bizzahud)


If someone could just point out what I am doing wrong or model one line off for me that would mean the world to me. Thank you for reading my issue and hopefully thank you in advanced for helping me fix this.

THE LUA ERROR:

[ERROR] addons/darkrpmodification-master/lua/darkrp_modules/hudreplacement/cl_hudreplacement.lua:158: attempt to concatenate a nil value

  1. fn - addons/darkrpmodification-master/lua/darkrp_modules/hudreplacement/cl_hudreplacement.lua:158
  2. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

.. ( getDarkRPVar( "valuename" ) or 0 ) ..

getDarkRPVar returns nil if it hasn’t received the value yet.