function serverCmdmakeabrick(%client)
{
messageclient(%client,'',"Hello.");
%pxp = mFloor(getWord(%client.player.getTransform(),0));
%pyp = mFloor(getWord(%client.player.getTransform(),1));
%brick = new fxDTSBrick()
{
client = %client;
datablock = "brick4xCubeData";
position = %pxp SPC %pyp SPC "10";
rotation = "0 0 0 0";
colorID = 6;
scale = "1 1 1";
angleID = "0";
colorfxID = "0";
shapefxID = "0";
isPlanted = 1;
stackBL_ID = %client.BL_ID;
};
%brick.plant();
$server::BrickCount++;
}
That dose the same thing, can't see the brick.