π οΈINSTALLATION
π Quick Setup
1. Download and Extract
Download the script and extract it to your
resources
folderRename the folder to
janiel-rentals
2. Add to Server Config
Add this line to your server.cfg
:
ensure janiel-rentals
3. QBCore Item Setup
Add this item to your qb-core/shared/items.lua
:
['rentalpapers'] = {
name = 'rentalpapers',
label = 'Vehicle Rental Papers',
weight = 0,
type = 'item',
image = 'rentalpapers.png',
unique = true,
useable = true,
shouldClose = true,
combinable = nil,
description = 'Official vehicle rental documentation'
}
4. Item Image Setup
Add
rentalpapers.png
to yourqb-inventory/html/images/
folderYou can find the image in the
web/images/
folder of this resourceOr create your own 512x512 PNG image
5. Configuration
Open
config.lua
Configure your settings:
Set your inventory system (
ox
,qb
, orother
)Set your fuel system
Configure vehicle spawn locations
Set rental prices
6. Restart Server
Restart your server or use:
refresh
ensure janiel-rentals
π§ Advanced Configuration
Inventory Systems
The script supports:
ox_inventory (ox)
qb-inventory (qb)
Other inventories (other) - uses QBCore functions
Fuel Systems
Supported fuel scripts:
ox_fuel
LegacyFuel
ps-fuel
cdn-fuel
okokFuel
Custom fuel scripts via exports
Target Systems
Supported target systems:
ox_target
qb-target
qtarget
Last updated