Installation

Install Cube ItemsWheel in a few minutes.

1

Download the resource#

After your purchase, the resource is delivered to your CFX account. Download it from the CFX Portal, under Granted assets.

Unzip the folder into your server's resources directory. There is nothing to build - the interface ships already compiled in ui/build/.

Warning

Keep the folder named cube_itemswheel. Exports in your other scripts use the resource name, for example exports.cube_itemswheel:OpenWheel().

2

Install the dependencies#

ox_lib is required and must start before Cube ItemsWheel.

3

Add it to your server.cfg#

server.cfg
ensure ox_lib
ensure es_extended   # or qb-core / qbx_core
ensure ox_inventory  # or your inventory
ensure cube_itemswheel

Start Cube ItemsWheel after your framework and inventory so it can detect them.

4

Check the key#

The wheel opens with TAB by default, like the GTA weapon wheel. With Config.Wheel.disableNativeWheel = true (default) the GTA wheel is disabled so both do not open together.

config.luaLua
Config.Keys = {
    wheel = 'TAB',
    editor = false, -- e.g. 'F6'
}
Note

Keys are registered with RegisterKeyMapping: once a player joined, changing the default in the config does not change their key anymore. Players change it in Settings > Key Bindings > FiveM.

5

Start the server#

With Config.Debug = true you will see what was detected:

Code
[cube_itemswheel] [INFO] Started | Framework: esx | Inventory: ox_inventory | Locale: en
6

Build your wheel#

In game, type:

Code
/itemswheel
  1. Pick Weapons or Items at the top.
  2. Drag an item from the Inventory panel onto a slot. A simple click places

    it on the first empty slot.

  3. Drag a slot onto another one to swap them, or out of the wheel to remove it.

    A right click clears a slot.

  4. Add pages with Add a page.
  5. Change the look in Customize, then click Done.

Hold TAB, aim at a slot and release it to use it.