Skip to main content

Troubleshooting

Showroom NPC doesn't spawn

Check that the Ped.Model value in Config.Showrooms is a valid ped model name. Open F8 and look for resource errors. fr_interact only handles interaction prompts — not the NPC.

Vehicle missing from showroom

Make sure the model in Config.Categories matches an exact GTA spawn name (lowercase). For add-on cars, the vehicle's resource must be started before a player tries to buy it.

"Not enough money" with sufficient funds

The player selects Cash or Bank in the NUI. Make sure the correct account has the funds. The account mapping (cash/bank) is handled automatically by the framework bridge.

Owned vehicle not spawning from garage

The vehicle must be stored = 1 in fr_owned_vehicles. Check with a database tool.

Financing instalment not processing

The check thread runs every Config.Finance.InstalmentIntervalMinutes minutes (default 1440 min = 24 h). Set it to 1 for testing. Also verify the resource is not being unexpectedly restarted.

Tables not created automatically

Make sure oxmysql starts before fr_dealership. Check the server console for the message [fr_dealership] tables ready. If missing, import manually:

mysql -u user -p database_name < resources/fr_dealership/sql/fr_dealership.sql

NUI doesn't open when pressing E

  1. Verify that fr_dealership shows as started in the console.
  2. Make sure you are within range of the Config.Showrooms[1].Entry marker (default -56.94, -1096.6, 26.42).
  3. If you use fr_interact, verify it is also started.

Framework not detected

Auto-detection looks for es_extended or qb-core in the started resources. Make sure your framework starts before fr_dealership. The console should print:

[fr_dealership] Framework detected: ESX

or

[fr_dealership] Framework detected: QBCore

If neither message appears, check the ensure order in your server.cfg.