Author Topic: making a particular brick type's properties unEditable  (Read 624 times)

Code: [Select]
package tezuniPackage
{
        function servercmdSetWrenchData(%client,%dataString)
{
%brick = %client.processingBrick;
%brickDataBlock = %brick.getdatablock().getID();

if(%brickDataBlock == carrotBrickData.getID())
return;
else
parent::servercmdSetWrenchData(%client,%dataString);
}
};
activatePackage(tezuniPackage);

no syntaxes, but can't seem to get it working
ideas?

Code: [Select]
%brick = %client.wrenchBrick;would be the proper way to get the clients last wrench'd brick