Advanced Rental System for QBCore
Last updated
Last updated
The Advanced Rental System for QBCore revolutionizes the way players experience vehicle rentals in FiveM. This comprehensive script offers a robust and seamless rental service, fully integrated with the QBCore framework, bringing a new dimension of realism and convenience to your server.
Initial release with core features.
Added advanced Discord logging.
Improved vehicle spawn logic.
Added
Payment Method Selection: Players can now choose to pay for rentals using either cash or bank.
Implemented a new menu for selecting payment methods (cash or bank).
Added server-side checks to ensure players have sufficient funds in their chosen payment method.
Phone Mail Compatibility: Added compatibility with different phone systems (qs-phone
, gks-phone
, yseries
, and qs-smartphone-pro
).
Implemented client-side logic to send emails to the player's phone using the configured phone system.
50% Refund on Vehicle Return: Players receive a 50% refund of the rental price when returning the vehicle.
Refunds are credited to the player's bank account.
Vehicle Spawn Points Configuration: Rental locations now support multiple spawn points.
Added configuration to specify multiple spawn points for each rental location.
Changed
Menu Interface: Improved the rental menu interface.
Updated the vehicle preview to use images from URLs.
Vehicle Ownership: Updated logic to properly assign vehicle ownership and keys to the player.
Fixed
Negative Bank Balance Prevention: Prevented the player's bank account from going into a negative balance when renting a vehicle.
Added server-side checks to ensure players have sufficient funds before processing the rental.
Vehicle Data Persistence: Ensured rental vehicle data is properly saved and cleared in the JSON file.
Fixed issues where rental data was not properly removed upon returning the vehicle.