Blockland Forums > Modification Help

I need to remove the player tools

Pages: (1/1)

Kilser:


--- Code: ---findClientByName().player.tool0-4 = 0;
--- End code ---
Whats wrong with that?
Its for a jail script.

Greek2me:

Do this:


--- Code: ---findClientByName(Kilser).player.clearTools();
--- End code ---


otto-san:

For future reference, what you said would never work.

You'd do something like this:


--- Code: ---for(%i = 0; %i < 5; %i++)
   findClientByName(%name).player.tool[%i] = 0;
--- End code ---


Pages: (1/1)

Go to full version