Installation
Download Asset(s)
Download Dependencies
Ensuring Asset(s)
To make sure the asset(s) starts & works properly we need to make sure all asset(s) start in the correct order in your server.cfg. Below you can find an example of how it can look like.
[rx] in your resource folder. If you own multiple scripts from RX, you will not need to add them all to your server.cfg seperately.# 1. Start oxmysql
ensure oxmysql
# 2. Start your framework
ensure es_extended or qb-core or qbx_core
# 3. Start fmLib (MUST be below frameworks, inventories & such)
ensure fmLib
# 4. Finally, start our asset singularly
ensure RxDealerships
# Or, start all of our assets at once
ensure [rx]
FAQ
Vehicle images are resolved in the following order:
- Local images - Place
.pngimages inRxDealerships/web/img/vehicles/named by model (e.g.,adder.png,zentorno.png). These are loaded viacfx-nui-rxdealerships/web/img/vehicles/{model}.png. - Custom CDN host - If you have your own image hosting, set
Config.VehicleImage.hostto your CDN URL (e.g.,https://my-cdn.com/vehicles) andConfig.VehicleImage.extensionto the file extension. The script will look for{host}/{model}.{extension}. - FiveM docs fallback - If no local or CDN image is found, the script falls back to
https://docs.fivem.net/vehicles/{model}.webp.
Config.ShowVehicleImages to false..png images for all your custom/addon vehicles, as the FiveM docs fallback only covers default GTA V vehicles.Tebex dealerships allow players to purchase vehicles through your Tebex store with real money, and then pick them up in-game. Here's how to set it up:
Create a Tebex dealership
Open the admin panel with /dealerships:admin and create a new dealership with the type Tebex. Set the location, showroom coords, and vehicle spawn coords like any other dealership.
Add vehicles to the Tebex dealership
In the admin panel, navigate to your Tebex dealership and add vehicles. Each Tebex vehicle requires:
- Name - Display name of the vehicle
- Model - The vehicle spawn model name (e.g.,
adder) - Category - Vehicle category for filtering
- Buy Label - The label shown on the purchase button (e.g.,
$9.99) - Tebex Link - The full URL to the Tebex package (e.g.,
https://yourstore.tebex.io/package/123456)
Set up your Tebex store packages
Open the Tebex setup guide in-game through the admin panel to see the exact command you need to add to your Tebex store packages. The guide will show you what to configure on the Tebex side so purchased vehicles are automatically linked to your dealership.
Players purchase & pick up
When a player clicks the buy button in-game, they are redirected to your Tebex store. After purchase, the order appears in the system. The player can then pick up their vehicle at the dealership through the My Orders button.
- Server-owned - Managed by admins through the admin panel. Has fixed pricing, stock management, and auto-restocking. Ideal for standard in-game dealerships.
- Player-owned - Owned and managed by a player. The owner can order vehicles, set custom prices, manage inventory, and deposit/withdraw from the dealership balance. Ideal for player-run businesses.
- Tebex - Vehicles are purchased with real money through your Tebex store. Players buy on Tebex and pick up their vehicle in-game. Ideal for VIP/donation vehicles.
