mob
proc
JoinPolice()
usr.verbs += typesof(/mob/Police_Verbs/verb)
PoliceLeader()
usr.verbs += typesof(/mob/Police_Verbs/verb)
usr.verbs += typesof(/mob/Police_Leader/verb)
NoPolice()
M.verbs -= typesof(/mob/Police_Leader/verb)
M.verbs -= typesof(/mob/Police_Verbs/verb)
M.policerank = ""
M.Police = ""
M.Rank = ""
mob
var
policerank = ""
Police = ""
Problem description:
I have all the vars in but when I compile, it comes down to this:
The Police.dm:10:error:M.verbs:undefined var
The Police.dm:11:error:M.verbs:undefined var
The Police.dm:12:error:M.policerank:undefined var
The Police.dm:13:error:M.Police:undefined var
The Police.dm:14:error:M.Rank:undefined var
I don't know why it doesn't work. Can anyone help?
Do you? Where the heck is M declared...?
Whatever the cause, this is a problem of a beginner not learning DM/programming fundamentals. I suggest going over the DM Guide.