Cube ItemsWheel
A GTA style wheel for weapons and items, linked to your inventory and customizable by every player.
A weapon and item wheel in the spirit of GTA. Players hold a key, point the mouse toward a slot and release it - no click needed. The wheel reads the inventory of the player, so the images, ammo and amounts are always up to date.
Each player builds their own wheel in an editor: drag an item from the inventory onto a slot, add pages, and change the colors, size and shape of the wheel.
Cube ItemsWheel detects your framework and inventory on start. On most servers you only have to start it.
Features#
- Two wheels - weapons and items, switched with a right click or the tabs.
- GTA selection - hold the key, aim with the mouse, release to use. A
togglemode is available for players who prefer clicking. - Live information - name, weapon type, ammo loaded and in reserve, amount
and image of the selected slot.
- Unarmed slot - a fixed slot to put the weapon away.
- Editor - drag and drop from the inventory, swap slots, right click to clear
a slot, up to 5 pages per wheel.
- Customization - accent, background and text colors with a color picker, opacity, size, corner
radius, spacing, center size, amounts and animations. Every player has their own look.
- Auto cleanup - an item the player does not have anymore is removed from the
wheel automatically.
- Saved per character - the wheel is saved in the client KVP, one wheel per
character on multicharacter servers. Nothing to add to your database.
- Lua locales - every text, interface included, lives in
locale/*.lua. - Developer API - client and server exports, events and hooks.
Compatibility#
| Category | Supported |
|---|---|
| Framework | ESX, QBCore, Qbox, standalone |
| Inventory | ox_inventory, qb-inventory (ps / lj), qs-inventory, ESX default inventory, custom bridge |
Escrow#
The resource is escrow protected. Every file you may need to adapt to your server is left open:
| Path | Editable |
|---|---|
config.lua | Yes |
locale/*.lua | Yes |
client/custom.lua | Yes |
client/framework/*.lua | Yes |
client/inventory/*.lua | Yes |
ui/ | No (compiled interface) |
Requirements#
- ox_lib
- One of the supported inventories, or your own bridge in
client/inventory/custom.lua
Next steps#
- Installation - get it running in a few minutes
- Configuration - keys, wheel behaviour and default look
- Inventories - images and custom inventories
- Client API - integrate it with your own resources