Read my edit.
%client = %obj.client;
That would be setting the value of %client to a different variable, as %obj.client isn't defined yet.
And you first have to define %obj, then define %obj.client
How would I define it?
I'm just not sure how to define it, could you help a bit more? Thanks
Look, why make a whole new variable when you can just use %client?
commandToClient(%obj.client, 'centerPrint', "\c6You have commited a crime. [\c3Breaking and Entering\c6]", 1); %obj.client.TezRP(2, $TezRP::demerits::hittingInnocents);