Retro Car Rental
Installation
Section titled โInstallationโ1) Add Resource
Section titled โ1) Add ResourceโPlace rs_carrental in your resources folder and add to server.cfg:
ensure rs_carrental2) Dependencies
Section titled โ2) DependenciesโThese must start before rs_carrental:
ox_liboxmysql
3) Database
Section titled โ3) DatabaseโTables are created automatically on first start. If you prefer manual setup, run sql/install.sql.
Two tables are used:
rs_carrental- active and past rental records.rs_carrental_vip- VIP membership entries with expiry timestamps.
4) Framework
Section titled โ4) FrameworkโAuto-detected. Supports QBCore, QBox, and ESX.
To override, set Config.Framework in config/config.lua to 'qbcore', 'qbox', or 'esx'.
5) Target System
Section titled โ5) Target SystemโAlso auto-detected: ox_target โ qb-target โ qtarget.
If none are found, NPC interaction falls back to a proximity E-key prompt.
6) Verify
Section titled โ6) VerifyโRestart, visit the NPC at the configured location, and test a rental.