Blockland Forums > Suggestions & Requests

Disable spraycan on specific playertype

Pages: << < (2/2)

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.

Pages: << < (2/2)

Go to full version