Installation
Install Cube ItemsWheel in a few minutes.
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/.
Keep the folder named cube_itemswheel. Exports in your other scripts use the resource name, for example exports.cube_itemswheel:OpenWheel().
Add it to your server.cfg#
ensure ox_lib
ensure es_extended # or qb-core / qbx_core
ensure ox_inventory # or your inventory
ensure cube_itemswheelStart Cube ItemsWheel after your framework and inventory so it can detect them.
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.Keys = {
wheel = 'TAB',
editor = false, -- e.g. 'F6'
}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.
Start the server#
With Config.Debug = true you will see what was detected:
[cube_itemswheel] [INFO] Started | Framework: esx | Inventory: ox_inventory | Locale: enBuild your wheel#
In game, type:
/itemswheel- Pick Weapons or Items at the top.
- Drag an item from the Inventory panel onto a slot. A simple click places
it on the first empty slot.
- Drag a slot onto another one to swap them, or out of the wheel to remove it.
A right click clears a slot.
- Add pages with Add a page.
- Change the look in Customize, then click Done.
Hold TAB, aim at a slot and release it to use it.