Author Topic: Edit the Output Event - SetInventory to handle more than 5 slots  (Read 382 times)

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?
« Last Edit: July 18, 2012, 10:21:39 AM by 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?
Just ask Truce to do it. He made the mod after all.

Bump

He hasn't responded yet.

Still could use this :/

Open server.cs

Replace
Code: [Select]
registerOutputEvent(Player,SetInventory,"datablock ItemData\tint 1 5 1",1);with
Code: [Select]
registerOutputEvent(Player,SetInventory,"datablock ItemData\tint 1 9 1",1);
Done


No need truce for that