I know this event is kinda useless, but I just want to try it.
Why doesn't this work?
function GameConnection::PlantBrick(%client)
{
if(isObject(%client.tempBrick))
{
commandToServer('plantBrick');
}
else
{
messageClient(%client,'',"\c0Error\c6: You do not have a ghost brick on the map.");
}
}