[RELEASE] [FREE] [QBCore] Advanced Car Rental

A Advanced Car Rental for QBCore (Nopixel Inspired) Originally Made by NaorNC. and enhanced by Teezy Core. Check the GitHub Repository for the Full Details.

Dependencies

  • qb-target
  • qb-core
  • qb-menu
  • qb-input
  • optional: menu used in the video jixel-menu
  • optional: nh-context

Previews

If the previews is not working here’s the alternative links:
Preview 1
Preview 2
Preview 3
Preview 4

Features

  • Debug Mode Some print thingy for debugging purposes and for Debug Poly
  • Enable/Disable Blips for Rentals
  • Setup menu: currently supported menus (qb-menu, nh-context)
  • Rental Plate Mark a mark on a Vehicle plate which will be the indicator of the vehicle was only for rented.
  • Unlimited Vehicle to rent just follow the instructions inside the config.lua
  • Configurable Rental Time just follow the instructions inside the config.lua
  • Configurable Locations for Rent just follow the instructions inside the config.lua
  • Custom Ped, and Scene for Each Rental Stations just follow the instructions inside the config.lua
  • Configurable Vehicle Spawn just follow the instructions inside
  • Vehicle Nearby Detection wither there is an vehicle near the spawn point of the vehicle it will notice the player
  • Automatic Vehicle Deletion upon the Rental Time Vehicle will be Automatically deleted if Rental Time was already done.

TODOS

  • Add more menus support
  • might be supported with ESX in the future
  • Add Discord Logs
  • Add more info on the rentalpapers item

GITHUB: Click Here

Feel free to Pull Request

4 Likes

Hello, make sure that the plate of the vehicle is started with “TC” this is configurable in config file

Config.RentalPlateMark = "TC" -- This is a Prefix for the Plate of the Vehicle

Although you can edit this to anything you like, it’s recommended to keep it to just two characters.

Please also confirm the rentalpapers information by checking your inventory and ensuring that the “Plate: TCXXXX” is in the info of the item.

If this continues to occur, I dig into the script to see if there is a bug.

sorry i accidentally delete my post. it worked now! thank you. i love your script

1 Like

oh, nice that’s good to hear :wink:

I cant seem to get this part of the instructions right…
NOTE: Go between Line 500-600 and add the following code

          } else if (itemData.name == "rentalpapers") {
            $(".item-info-title").html('<p>' + itemData.label + '</p>')
            $(".item-info-description").html('<p><strong>Plate: </strong><span>'+ itemData.info.label + '</span></p>');

just put that in any line. here’s mine

Nice Script :+1:

Would be really good to be able to choose which vehicles are available for rent per location.
ex: You have a rental location at Legion Square, this is fine for car rentals, but not so good for renting a JET or a BOAT. :rofl: :rofl: :rofl:
Most other rental scripts I’ve tried let you choose which vehicles you can rent from each location
Maybe you can add this option?

1 Like

Hello, thanks for the suggestions. Yes, that would be a great addition to the script! Allowing users to choose which vehicles are available for rent per location can greatly enhance the flexibility and customization of the rental script.

I might make an update soon. Also, I am planning to change the menu to an actual NUI.

1 Like

That would be great. I’ll keep an eye on this for that update. Looking forward to using this script when that gets implemented. Thank you! :+1:

Edit: Would also be nice to have the “Remaining Time” in hour:min:sec format :smile:

So i followed the steps but when i try to rent the car, it doesn’t spawn the car in. No errors in F8 and no other issues.

hi sir, please fix link image item for rentalpapers.png and item link, because error “bad signature”