Scripts Guides
Installation

πŸ“€INSTALLATIONS

Welcome to the ONEX RADIALMENU Installation Guide! Here, you'll find everything you need to successfully install our cutting-edge radial menu script. By carefully following each step, you'll ensure a smooth and hassle-free installation process. As long as you complete the entire documentation, you should encounter no issues along the way.

🚫

If you lack programming experience, we recommend reading each step thoroughly without skipping any lines, as every part of this documentation is essential and should not be overlooked. Alternatively, if you have a trusted developer, they can help you complete the installation quickly, easily, and safely by following the guide step by step.

If you still encounter any issues after completing this documentation, we recommend reviewing each step again carefully. Once you've confirmed everything is correct but still face challenges, feel free to contact us on Discord (opens in a new tab) for further assistance. Our support team will be happy to help you resolve any issues quickly and efficiently.

ASSET DONWLOAD

⚠️

To access the asset, you must have purchased it using your own Keymaster account. If you need to transfer the asset to a different Keymaster account, you can use the transfer system. Please note that the transfer can only be performed once for an asset, so ensure the transfer is done carefully.

If you need to make an update you must also do this step again, download the asset and you will get the complete update.

Once you've completed your purchase on our OFFICIAL WEBSITE (opens in a new tab), you'll receive your asset directly in your Keymaster panel. From there, you can download the asset and follow the provided documentation for installation.

For issues related to FiveM Escrow, accounts, or asset startup errors, please visit FiveM Assets Escrow Information page to see if any of the listed solutions address your problem. Keep in mind that Escrow requires basic information such as your Keymaster account and license key for proper operation.

To start, log in to your cfx.re Keymaster (opens in a new tab) account and go to the 'Granted Assets' (opens in a new tab) section to find and download the latest release of your purchased resource.

CONFIGURE FXMANIFEST

⚠️

To ensure smooth operation, it's crucial to configure your fxmanifest.lua file correctly. Failing to do so may result in errors and unexpected behavior.

If you are using QBCore or QBox, you must uncomment the respective lines in your fxmanifest.lua file based on your core.

fxmanifest.lua
--  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
-- β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
-- β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β•šβ–ˆβ–ˆβ–ˆβ•”β•     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
-- β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•   β–ˆβ–ˆβ•”β–ˆβ–ˆβ•—     β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•    β–ˆβ–ˆβ•‘   β•šβ•β•β•β•β–ˆβ–ˆβ•‘
-- β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
--  β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•    β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•šβ•β•        β•šβ•β•   β•šβ•β•β•β•β•β•β•
-- ===================== Official Information ================================================
name 'Onex Resource Module : RadialMenu'
description 'Radialmenu , For interaction'
author 'Frostfire#3400'
PowerdBy 'Onex Scripts'
-- ====================== Game Configuration =================================================
fx_version 'bodacious'
game 'gta5'
version '0.0.1'
-- ====================  Resource UI  ========================================================
ui_page 'web/dist/index.html'
files {
       'web/dist/index.html',
       'web/dist/assets/*.js',
       'web/dist/assets/*.css',
       'web/dist/*.*',
       'web/dist/assets/*.*',
       'bridge/qbx_radialmenu/config.lua',
       'locales/*.json'
}
 
-- ==================== Resource Configuration ===============================================
shared_scripts {
       --'@qbx_core/modules/lib.lua', -- uncomment this if you are using qbx_core (QBox)
       --'@qb-core/shared/locale.lua', -- uncomment this if you are using qb_core (QBCore) 
       '@ox_lib/init.lua',
       'shared/config.lua', 
       'bridge/qb-radialmenu/locales/en.lua', 
       'bridge/qb-radialmenu/locales/*.lua',
       'bridge/qb-radialmenu/config.lua'
}
 
client_scripts {
       --'@qbx_core/modules/playerdata.lua', -- uncomment this if you are using qbx_core (QBox) 
       'client/client.lua', 
       'client/classes/*.lua',
       'bridge/**/client/*.lua'
}
 
dependency {'onex-base'}
 
escrow_ignore {
       'shared/*.lua',
       'locales/*.*',
       'bridge/**/*.*'
}
 
-- ==================== Resource Code Configuration  =============================================
lua54 'yes'
use_experimental_fxv2_oal 'yes'
 

ASSET POSITIONING

⚠️

Ensure that you position the assets correctly by following this step. Skipping this step may result in errors related to missing exports. It's crucial not to skip this step to avoid potential issues.

To execute this asset, please adhere to the specified order outlined below. We recommend initiating both dependencies and the onex-radialmenu asset within the designated [onex] folder. Failing to do so may necessitate starting the dependencies first, followed by the onex-radialmenu. After placing your asset into your servers resource directory, navigate to your server.cfg file and open it.

server.cfg
# First we will start the cores, never below
ensure es_extended or qb-core
# Put all the dependencies file into [onex] folder 
ensure [onex]

Alternatively, if you prefer to keep things separate, utilize the following format.

server.cfg
# First we will start the cores, never below
ensure es_extended or qb-core
# Place all dependency files within a designated resources folder. 
# When doing so, ensure that you maintain the following order:
ensure onex-base
# Other Onex scripts if you have
ensure onex-radialmenu