I am trying to make an add-on where you can say: /SetScale (name) (scale)
But I can't seem to get it right. Here it is:
package SetScale
function servrCMDSetScale(%cl,%targ,%Chat,%Chat2,%Chat3)
{
if(%client.isSuperAdmin)
{
findclientbyname(%targ.name).player.setscale(%Chat SPC %Chat2 SPC %Chat3 SPC);
messageClient('',"You have changed "@%targ.name@"'s scale to "@%Chat %Chat2 %Chat3@" ");
}
};
activatepackage(SetScale);
Help me if you can, thanks.