Blockland Forums > Suggestions & Requests

Edit the Output Event - SetInventory to handle more than 5 slots

Pages: (1/1)

Racerboy:

Most of us know the SetInventory Output Event by Truce on RTB here, but you are only allowed to set items up to 5 slots, this limit is pre-set in the event.

What if you have 6, 7, or 8 slot playertypes? You're going to need a way to set items in those higher number slots (6, 7, 8).

Would this be possible? If so, could someone make these edits?

jes00:


--- Quote from: Racerboy on July 18, 2012, 09:39:48 AM ---Most of us know the SetInventory Output Event by Truce on RTB here, but you are only allowed to set items up to 5 slots, this limit is pre-set in the event.

What if you have 6, 7, or 8 slot playertypes? You're going to need a way to set items in those higher number slots (6, 7, 8).

Would this be possible? If so, could someone make these edits?

--- End quote ---
Just ask Truce to do it. He made the mod after all.

Racerboy:

Bump

He hasn't responded yet.

Racerboy:

Still could use this :/

Mold:

Open server.cs

Replace

--- Code: ---registerOutputEvent(Player,SetInventory,"datablock ItemData\tint 1 5 1",1);
--- End code ---
with

--- Code: ---registerOutputEvent(Player,SetInventory,"datablock ItemData\tint 1 9 1",1);
--- End code ---

Done


No need truce for that

Pages: (1/1)

Go to full version