Skip to content

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).

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 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.

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.

price ร— remaining_hours ร— ReturnRefundPercent / 100. Only applies when the rental isnโ€™t overdue.

Controlled by Config.MaxRentals. Default is 1. Increase it if you want players to rent more than one vehicle at a time.

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.