[Release] [PAID] [ESX] Vehicle Rental

Version 1.5

Hello everyone,
I would like to introduce to you a new script from our workshop.
If you do not want to have vehicle rental shops solved through multiple scripts, this solution is exactly for you. In one script you have the option to create unlimited vehicle rental shops for any vehicles.

  • Cars
  • Boats
  • Planes
  • Bikes
  • Motorcycles

:star2: | BEST THINGS

  • OWN GARAGES
  • OWN CAR LOCKING
  • VERY USER FRIENDLY

:star2: | ONLY TWO CONDITIONS

  • The distance between the two must be at least 2x the visibility of one vehicle rental shop
  • There can be a maximum of exposed vehicles. 10 vehicles in one vehicle rental shop

rentalblips

:star2: | - VERY CONFIGURABLE

  • You can setup ped position, type and voice for every rental
  • Exposed vehicles type and position
  • Exposed vehicles color (primary, secondary and perlescent)
  • Rented vehicle colour by RGB
  • 3D text about cars position
  • Font (style, position, size, color)
  • Percents of three type of insurance
  • Maximum rented days
  • You can use own notifications
  • You can setup BLIP, type and color and size for every rental
  • DebugMode
  • Discord Webhook - serving as a loan record
  • Rented vehicle locking (Key and distance) - system built-in this script
  • Garages for rented vehicles (Especially for relog) - system built-in this script
  • Prices (rent, insurance, fine for not returned car, fine for % damage of vehicle if you return it)
  • You can use own vehicleshop for generating license plate (if you don’t use vehicleshop, we have a
    plate generator in this script. But I recommend generator from vehicleshop)

disc

:star2: | Dependencies

  • es_extended
  • esx_menu_default
  • optional - vehicleshop for generating plate

:star2: | Resmon inactive
inactive

:star2: | Resmon if you stand or talking with ped
nearped

:star2: | Resmon if you have rented vehicle (due to carlock)
incar

:star2: | STEPS FOR USE

  1. Import file importIntoDatabase.sql into your database
  2. Write ensure svejdarpa_vehicle_rental into server.cfg
  3. Set up vehicles and rentals in config.lua
  4. Optional - setup your webhook in /server/webhook.lua and in config.lua change DiscordWebhookAllowed to true
  5. Optional - open and watch file manual_for_next_rental.png for add a new rental
  6. Restart the server and enjoy the script

:computer: | Video: comming soon…
:moneybag: | Price: 14.87€ + tax
:hammer_and_wrench: | Created by: Svejdarpa#4136 and kolotoÄŤÄŤ#1722
Buy: https://svejdascripts.tebex.io/package/4572908

:star2: | CONFIG

:star2: | IMAGES

6 Likes

Perfect script and support.

I recommending this script.

2 Likes

:newspaper2: Update version 1.2.0 - version name is in fxmanifest.lua
• Better countdown for rented vehicle
• Better font edit

Just bought this, and it’s amazing!!! but one problem im having right now. I just rented the grotti with no insurance then i go to place it in the garage, i hit enter nothing happens, but the server thinks i put it in the garage, next option tells me withdraw from garage while im still in the rented car. then another copy of my grotti appears. basically duplicating my car over and over. Any fix for this? maybe im doing something wrong? Oh also after i locked the car i keep pressing J and it doesn’t unlock, it keeps saying vehicle locked so im locked out of my car :frowning:

also in my F8 console im constantly getting this error:

SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:1145: No such export SendAlert in Resource mythic_notify

Screenshot - 5f52f2c955d252091606bb9c631bdb42 - Gyazo - image of the console and another error in there too

@makthementor1
se you a mythic notify? If no, you must change type of notification in config, behind your type of notification. Because if you don´t use mythic notify, export doesnt work, and script show the error

Okay so i should add mythic notify and it will also fix the car duping?

yes because notification is in front of deleting car. and if notification have error car is not be deleted.

is there a guide on how to add it? because im not sure what to do, i added mythic_notify as a resource but nothing changed

function Notification(type, text)
    if type == 'error' then
        exports['mythic_notify']:SendAlert('error', text)
    elseif type == 'success' then
        exports['mythic_notify']:SendAlert('success', text)
    elseif type == 'inform' then
        exports['mythic_notify']:SendAlert('inform', text)
    end
end

replace with this

function Notification(type, text)
    if type == 'error' then
       ESX.ShowNotification(~r~text)
    elseif type == 'success' then
       ESX.ShowNotification(~g~text)
    elseif type == 'inform' then
       ESX.ShowNotification(~b~text)
    end
end

thank you, i changed that but now i get something else in my F8 console and still can dupe cars

function Notification(type, text)
    if type == 'error' then
       ESX.ShowNotification('~r~'..text)
    elseif type == 'success' then
       ESX.ShowNotification('~g~'..text)
    elseif type == 'inform' then
       ESX.ShowNotification('~b~'..text)
    end
end

sorry my fault @makthementor1

it works now :slight_smile: thank you!

1 Like

:newspaper2: Update version 1.3.0 - version name is in fxmanifest.lua
• Fixed bug on extended 1.2 with name
• Fixed damage of the rented vehicles

1 Like

where to get link to latest version?

The link in email is broken, what’s your discord so i can get latest download to update?

Why broken?

yes its broken, and thank you for making this nice script <3

How can i get the lastest update? i purchased this script soon as it was released.

Can I get the latest update as well? My purchase was 9 days ago.
Kindly private message me for my email address. Thank you.

1 Like

:newspaper2: Update version 1.4.0 - version name is in fxmanifest.lua
• Fixed bug on playerDropped event