Blockland Forums > Suggestions & Requests
Disable spraycan on specific playertype
BlockAlpha:
clientcmdsetpaintingdisabled() doesn't work, neither 0 or 1 in the parenthesis. :(
Works. Thank you!
jes00:
Note to you.
You also want to package useSprayCan or whatever to do it properly. Otherwise people can just do clientCmdSetPaintingDisabled(0); in their console and use the spray can.
Also also. Do commandToClient(%client, 'setPaintingDisabled', 1); If you just do clientCmdSetPaintingDisabled(0); then it will only affect the host.