First time installing an Onex script? Complete the Claim Purchase guide first — it covers downloading from the CFX portal, extracting files, and the general server.cfg setup. Come back here once that's done.
Your download includes two resources: onex-rental and onex-base. Both need to be placed in your server's resources directory. You can put them inside the same [onex] folder.
This asset includes two downloads:
onex-rentalandonex-base. You can place and start both within the same folder.
This script requires an inventory resource (e.g. ox_inventory or qb-inventory) to be started before any Onex resources. Use the [onex] folder approach for clean organisation:
server.cfg# Always start core frameworks first ensure es_extended # or: ensure qb-core ensure [inventory] # Start all Onex assets together ensure [onex]
If you prefer to list resources individually:
server.cfgensure es_extended # or: ensure qb-core ensure [inventory] ensure onex-base ensure onex-rental
onex-base must always start before onex-rental. The inventory resource must also be running before either of them, or the script will fail to initialise.

Open items.lua, you will find this in qb-core/shared/items.lua. After opening add this follwing line at last
qb-core/shared/items.lua['rental_receipt'] = { name = 'rental_receipt', label = 'Rental Receipt', weight = 10, type = 'item', image = 'rental_receipt.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A vehicle rental receipt' },
Go here qb-inventory/html/images/ and paste upeer given image.
Avoid using tools like XAMPP or other non-optimized local servers, as they may cause connection errors.
This script includes an essential database required for its operation. You must import it before starting your server, preferably using HeidiSQL or any other manager compatible with MariaDB/MySQL.
Do a full server restart — do not just ensure the script in the console while live.
Last updated 12 days ago