Retro Car Rental
Rental menu doesnโt open when interacting with the NPC
Section titled โRental menu doesnโt open when interacting with the NPCโMake sure ox_lib and oxmysql start before rs_carrental in your server.cfg. Double-check the NPC coordinates in Config.Locations and confirm your target system is working (or that the E-key fallback is triggering).
Vehicle doesnโt spawn after renting
Section titled โVehicle doesnโt spawn after rentingโThe model probably doesnโt exist on your server, or the spawnPoint is inside a wall / doesnโt have enough clearance. Try a flat open area first to rule out positioning.
VIP category still locked after purchasing
Section titled โVIP category still locked after purchasingโVIP checks two things at once - the vip_rental_card item in the playerโs inventory and a non-expired row in rs_carrental_vip. If either is missing, the category stays locked. Check both.
How overdue fees work
Section titled โHow overdue fees workโprice ร OverdueRatePerHour ร overdue_hours (hours rounded up). A $1,000 rental at 1.5x rate with 2.5 hours overdue = $1,000 ร 1.5 ร 3 = $4,500.
How early return refunds work
Section titled โHow early return refunds workโprice ร remaining_hours ร ReturnRefundPercent / 100. Only applies when the rental isnโt overdue.
Multiple active rentals
Section titled โMultiple active rentalsโControlled by Config.MaxRentals. Default is 1. Increase it if you want players to rent more than one vehicle at a time.
Vehicle images
Section titled โVehicle imagesโLoaded from Config.VehicleImageSource. Default points to the FiveM docs CDN. Set to 'local' to serve from web/dist/images/{model}.png. You can also override per-vehicle with an image field in the category config.