Player to player car rental, by m-Scripts
RENT

Your garage. Their keys.

Players list the cars they own and rent them to other players by the day. The car lives in the renter's garage until the time runs out, then it comes home with its tuning.

Browsing the cars other players have for rent
Renting a car: pick the days and pay the total
Picking one of your parked cars to rent out
Setting the name, category and price per day of a listing
My listings, one rented and one available
The rental history with money in and out
01Browse

Every car.
One counter.

Walk up to the rental office and see every car players put up for rent. Filter by category or search by car, owner or plate.

02Rent

Pick the days.
Pay once.

Slide from 1 to 7 days and see the total before you pay. The money comes from cash first, then the bank.

03Your cars

Got a car?
Rent it out.

Owners pick from the cars they have parked in a garage. Cars out on the street or already listed don't show up.

04The listing

Your price.
Per day.

Set the name people see, the category and the daily price. The form shows what a full week of rent pays you.

05My listings

Rented or free.
At a glance.

See who has each car and when it comes back. Edit or remove a listing any time it isn't rented.

06History

Money in.
Money out.

Every car you rented and every car you rented out, with the other player, the days and the price.

How a rental works

List. Rent.
Get it back.

No staff and no job needed. The script moves the car between garages and pays the owner on its own.

01 · The owner

List it

The owner picks a car parked in a garage, names it and sets a price per day. While it is listed, the owner can't take it out.

$50 to $50,000 a day11 categories
02 · The renter

Rent it

The renter pays for the days they want. The car goes into their garage and is theirs to drive until the rental ends.

1 to 7 daysCash or bank
03 · Time is up

It comes home

The renter gets a warning and 60 seconds to step out. The car goes back to the owner's garage with the tuning it had when it left.

Tuning keptChecked every minute
0Days a rental can last
0Car categories
0Garage scripts supported
0Seconds to leave the car
0Languages included
Everything in the box

A rental market.
Run by players.

Player to player

Players rent their own cars to each other. No fleet to set up and no staff to hire.

Market

Only parked cars

A car has to be stored in a garage to be listed, so nobody lists the car they are driving.

Rules

Price per day

Owners set the daily price inside the range in the config, $50 to $50,000 by default.

Config

1 to 7 days

The renter picks the length with a slider. Change the most days with one line.

Config.MaxDays

Cash or bank

The total comes out of cash first and the bank when cash is short.

Payment

Paid to the bank

The owner gets the money in the bank the moment someone rents the car.

Owners

Offline owners too

If the owner is offline, the money waits and is paid the next time they open the office.

Payout

City cut

Take a percent of every rental for the city. It is 0 out of the box.

Config.Fee

Garage to garage

A rented car moves into the renter's garage. When it ends it moves back to the owner.

Garages

Tuning kept

The mods are saved when the car is rented and put back when it comes home.

Safe

Time to step out

When the time is up the renter is warned and has 60 seconds before the car is taken back.

Config.ReturnGrace

Time left

Owners and renters see how long is left on every rental.

Timers

Search

Find a car by its name, the owner or the plate.

Browse

11 categories

Compacts to vans. The owner picks one and renters filter by it.

Config.Categories

Edit or remove

Change the name and price, or take the car off the market, while it isn't rented.

My listings

History

The last 40 rentals of each player, both ways, with prices and days.

History

Week preview

While listing, the form shows what the car makes if it is rented for a full week.

Owners

First come, first served

If two players pay for the same car at once, one gets it and the other is refunded.

Server side

Rental offices

A clerk NPC and a map blip. Add as many offices as you want in the config.

Config.Offices

Target or E

Uses ox_target or qb-target, or an E prompt next to the clerk when neither runs.

Fallback

Discord logs

New listings and every rental go to one webhook, kept on the server.

Webhook

Nothing to import

The tables are made when the script starts. No SQL file to run.

Install

IsRented export

Ask from any script if a plate is listed or rented right now.

Developers

English and Portuguese

Both languages included. Pick one in the config.

Locales
Up close

Two screens.
Both sides of the deal.

The rent window with the days slider and the total
Renter Days, price, seats, speed and the total
The listing form with name, category and price per day
Owner Name, category and the daily price
Straight answers

What you get.
What you need.

Included

  • The script with its own rental UI, in English and Portuguese
  • One rental office with a clerk and a blip, ready to use
  • Auto detection of the framework, the target and the garage script
  • A Discord webhook kept on the server side
  • The IsRented export for other scripts

Good to know

  • Needs ox_lib and oxmysql. Tables are created on start
  • Set Config.Garage to the garage rented cars go to
  • Other garage scripts can be added in bridge/vehicles.lua
  • Cars stay locked while listed, so the owner can't drive them away
  • Coming from the old version? It no longer needs extra columns in your vehicle tables
Plugs into your server

Your stack.
Already supported.

Framework, target and garage script are found on their own when the server starts. Or set each one by hand in the config.

Framework

QboxQBCoreESX

Garages

qbx_garagesqb-garagesjg-advancedgaragesesx_garage

Target

ox_targetqb-targetE prompt

Vehicles

player_vehiclesowned_vehicles

Needs

ox_liboxmysql

For server owners

A short config.
One export.

-- config/main.lua
Config.Garage = 'pillboxgarage'   -- where rented cars go and come back to
Config.MaxDays = 7
Config.Price = { min = 50, max = 50000 }
Config.Fee = 0                   -- percent the city keeps
Config.ReturnGrace = 60          -- seconds to leave the car

-- from any server script
exports['m-CarRental']:IsRented(plate)  -- true while listed or rented
FAQ

Before you buy.

Who owns the car during a rental?

The renter. The car moves to their garage and they drive it like their own. When the time is up it goes back to the owner's garage.

Does the owner lose the tuning?

No. The mods are saved when the car is rented and written back when it returns.

What if the owner is offline?

The money is kept for them and paid into the bank the next time they open the rental office.

What happens if the renter is still driving when it ends?

They get a warning and 60 seconds to leave the car. Then the car is removed from the street and returned. Change the seconds in Config.ReturnGrace.

Which garage scripts work?

qbx_garages, qb-garages, jg-advancedgarages and esx_garage are found on their own. For another garage script, edit bridge/vehicles.lua.

Can the city take a cut?

Yes. Config.Fee is the percent kept from every rental. The owner gets the rest.

HAND OVERTHE KEYS.

Available now for 12.30 EUR.

Buy Car Rental