Blockland Forums > Modification Help

Clearing the inventory.

Pages: (1/1)

cucumberdude:

I've searched and tried everything, and yet an effective tidbit eludes me.

Can someone supply me with a lil' snippet that would clear %client's inventory?

Truce:

There's a default event that does this, clearTools I think? In which case, call .clearTools(); on a player object.

cucumberdude:

Wow I'm a loving idiot. I was calling it on the client, I think :3

Pages: (1/1)

Go to full version