Need help with simple HUD coding

Okay guys, so I am coding up a simple HUD, but I am having a slight issue. It is going to be a DarkRP HUD, so I am adding the “wallet”, “job”, and “salary” portions to the HUD. For some reason, I get an error when I try adding them, this is the code I am using:

What am I doing wrong?
Error: (
[ERROR] addons/mod/lua/autorun/cl_init.lua:12: attempt to index global ‘Ip’ (a nil value)

  1. fn - addons/mod/lua/autorun/cl_init.lua:12
  2. unknown - addons/ulib/lua/ulib/shared/hook.lua:110
    )

Thanks in advanced

change “lp” to LocalPlayer

-snip-

I did that and it still came up with script errors…

LocalPlayer()?

Read the damn error. That is a start.

[ERROR] addons/mod/lua/autorun/cl_init.lua:12: attempt to index global ‘Ip’ (a nil value)
First line you have Ip not lp

unless he has a variable for lp it will still be nill once he changes it.