This integration is optional. Scripts written directly for FZD Action Wheel do
not need to modify Ox Lib.
Choose an installation method
You can inspect every supplied file before using it. FZD does not run an installer, modify Ox automatically or request permission to write into another resource.Before you begin
Stop the FiveM server and make a copy of:radial.lua.backup. This is your own restoration file and
should be preferred over any stock copy supplied with FZD.
Option 1: Drag and drop
This option does not run a command, program or executable. It replaces one plain-text Lua file and is intended only for an unmodified Ox Lib 3.39.0 installation.Check your version
Openox_lib/fxmanifest.lua in a text editor and look for:
Install
- Stop the FiveM server.
-
Open the FZD folder shown below:
-
Copy the supplied
radial.lua. -
Open
ox_lib/resource/interface/client/. -
Rename the existing file to
radial.lua.backup. -
Paste the supplied
radial.luainto the folder. - Start the server using the required start order.
radial.lua in the supplied integrations/ox_lib files before copying it.
Remove
- Stop the server.
- Delete the installed
radial.lua. - Rename your retained
radial.lua.backuptoradial.lua. - Start the server again.
File checksums
Option 2: Manual copy and paste
Use this method when the Ox radial file has been customised or the supplied version-specific replacement is unsuitable. Open:registerRadial
Paste below function lib.registerRadial(radial):
getCurrentRadialId
Paste below function lib.getCurrentRadialId():
hideRadial
Paste below function lib.hideRadial():
addRadialItem
Paste below function lib.addRadialItem(items, parentMenuId):
removeRadialItem
Paste below function lib.removeRadialItem(id, parentMenuId):
clearRadialItems
Paste below function lib.clearRadialItems():
disableRadial
Paste below function lib.disableRadial(state):
Optional showRadialMenu
Some Ox versions contain function lib.showRadialMenu(id). If the function
already exists, paste this block immediately beneath its declaration:
Remove manual changes
Remove only the three-lineif GetResourceState(...) block added beneath each
function. Preserve the function declaration and all original or customised code.
Option 3: Command-line patch
The repository includes the readableintegrations/ox_lib/ox_lib-3.39-radial.patch text patch for developers who already manage their Ox installation with Git.
From the root of ox_lib, check the patch before applying it:
Resource start order
Place the resources in this order inserver.cfg:
qbx_radialmenu when it is installed. Any resource that registers
radial items must start after Ox Lib and FZD Action Wheel.
After restarting FZD, restart those integrating resources so they can register
their radial items again.
What changes in game?
Existing resources can continue using these Ox radial functions:lib.registerRadiallib.getCurrentRadialIdlib.hideRadiallib.addRadialItemlib.removeRadialItemlib.clearRadialItemslib.disableRadiallib.showRadialMenuwhen present
Z binding does not contain the forwarded items.
Troubleshooting
Ox items do not appear
- Confirm
ox_libstarts beforefzd_actionwheel. - Restart the resource that registers the missing radial items.
- Confirm the FZD resource folder is named exactly
fzd_actionwheel. - Check the client console for an export or Lua error.
Custom Ox styling no longer appears
Ox radial items are intentionally displayed using FZD’s interface while FZD is running. Other Ox interfaces retain their existing styling.The stock replacement removed custom behaviour
Stop the server and restore your retainedradial.lua.backup. Reapply the bridge
using the manual method so the custom code remains in place.