Author Topic: Menu-Like Inventory System.  (Read 556 times)

Would anybody know if it would be possible to put together a system of an inventory for a player, opened (by example) pressing f1 or typing a small command in the chat, that when opened, showed anything the player had obtained on the server.

For example, a player is on a racing server bought a car, and wanted to pull it from their inventory. So they press f1, open their inventory, select the car, and it drops down in front of the player. Or on a combat server, a player bought a rifle and pulled up their inventory menu and selected it and it appeared in their tool bar.

A player could also pull something from their tool bar into their inventory. And if they parked their vehicle in a zone it automatically would go back into their inventory.

But probably most importantly their inventory roll over from each time they connect to the server, even if the server was a non-dedicated server and comes up and goes down frequently.

A weight system would also be of concern, such as the player could only hold 50 block spaces in their inventory.
And certain items (such as cars) weight a large amount upwards of 10 or more.

Any help or related addons would be of great appreciation.

Yep. It's possible.

Since jes didn't realize he was really asking for how to do it,
You can make a custom GUI (F10 opens the GUI editor) and make it an addon, then release it to RTB. Or, you can use RTB functions that let you create GUIs that can be downloaded, but the disadvantage to that is the player must have RTB and the number of controls are limited. See here for more info on that.