I have an entity which I need to send a umsg with. The only way i seem to be able to achieve this with is if I do a normal method like so:
function sendInfo(argString) end
Which works just fine if I call it like so:
However, if I change the sendInfo method to:
function ENT:sendInfo(argString) end
Then anything that gets passed through the argument is nil. Is this because my MyString is declared like so:
ENT.MyString = "nothing"
It has a value before sending. What can I do to make it work?