this is weird. they are coming up nil.
i placed a message in between to find out and the messagebox comes out clean so it is definitely nil BUT putting this statement
MHealthText:SetText(c_hp.." / "..m_hp)
works, what i mean is that MHealthText does show the currenthp/maxhp. but it always complains of concatenating a nil value which is m_hp.
how is it possible that c_hp and m_hp are nil but they display values in the text area?
|