πŸ› οΈINSTALLATION

πŸš€ Quick Setup

1. Download and Extract

  • Download the script and extract it to your resources folder

  • Rename 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

  1. Add rentalpapers.png to your qb-inventory/html/images/ folder

  2. You can find the image in the web/images/ folder of this resource

  3. Or create your own 512x512 PNG image

5. Configuration

  1. Open config.lua

  2. Configure your settings:

    • Set your inventory system (ox, qb, or other)

    • 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