ID:175023
 
In my hud coding I get an error which says

Hud.dm:54:error:client.thief:undefined var

I'm trying to give the thief a Hud verb called Steal. I know I'm suposed to use client or src but they give me that error. When I use usr (which I'm not suposed to) I get a runtime error saying usr is null. Here is the Hud coding

client
New()
new/obj/Who(src)
new/obj/Afk(src)
new/obj/Follow(src)
if(client.thief == 1)
new/obj/Steal(src)
..()


Undefined var means that you havn't defined a thief var for the client.
Someone in your code you should have something along the lines of
client
var
thief