I'm attempting to create a menu using serverCmdUseInventory and centerprint, but this would be used inside a minigame with building disabled. When the client has building disabled it just pops up that Building is currently disabled, which is client-sided I believe so I can't just make that message go away. If I use commandtoclient(%cl, 'setbuildingdisabled', false); then it just says they don't have any bricks.
Is there a way to give clients some bricks or disable the centerPrint when building is disabled?
function serverCmdUseInventory(%cl, %slot) {
commandToClient(%cl, 'centerPrint', %slot);
}
I guess when building is disabled the client doesn't even send serverCmdUseInventory to the server anyways.