Common Installation Issues
Most issues with come from missing dependencies or incorrect configuration. Follow these steps to resolve the most common problems.1
2
Configure Your Framework
Open the For QBCore:For QBX:
config.lua file in each script and set your framework correctly.For ESX:3
Import SQL Files
Each script has a
sql.sql file that must be imported into your database. (if needed)Option 1: Manual Import- Open your database management tool (HeidiSQL, phpMyAdmin, etc.)
- Import the
sql.sqlfile from each script folder
- Set
R.EnableAutoinsert = truein config.lua - Start the resource once to create tables automatically
- Set it back to
falseafter first start (if you wish)
Script-Specific Issues
R_Store - Credits not updating
R_Store - Credits not updating
Problem: Player credits don’t update after purchase or admin command.Solutions:
- Check that oxmysql is properly installed and running
- Verify database tables exist:
r_store_playersr_store_purchases
- Check server console for SQL errors
- Verify player identifier format matches your framework
R_Store - Store won't open
R_Store - Store won't open
Problem: Pressing F4 or using /store command does nothing.Solutions:
- Ensure ox_lib is started before r_store
- Check browser console (F8) for JavaScript errors
-
Verify the fast key is configured correctly:
R_Casino - Coins not saving
R_Casino - Coins not saving
Problem: Casino coins reset after disconnect.Solutions:
-
Verify database tables exist:
r_casino_playersr_casino_case_cooldowns
-
Check if using r_store coin integration:
- Ensure oxmysql is working correctly
- Check server console for database errors
R_FFA - Players stuck in arena
R_FFA - Players stuck in arena
Problem: Players can’t leave the FFA arena.Solutions:
-
Use the leave command:
-
Check that the command is configured:
- Verify the arena zone configuration is correct
- Check for errors in server console when leaving
R_FFA - Wagers not working
R_FFA - Wagers not working
Problem: Wager matches don’t take/give money.Solutions:
-
Check r_store integration if using credits:
- Ensure r_store is started before r_ffa
-
Verify currency configuration:
- Check that players have sufficient balance
R_Store - Vehicles not spawning
R_Store - Vehicles not spawning
Problem: Purchased vehicles don’t spawn.Solutions:
- Verify vehicle spawn names match your server’s vehicle resources
- Check that your framework’s vehicle spawning function works
- Ensure the player has garage space (framework-dependent)
- Check server console for errors during vehicle spawn
Database Issues
Connection errors
Connection errors
Problem: Scripts can’t connect to database.Solutions:
- Verify oxmysql is properly configured
- Check database credentials in your server configuration
- Ensure MySQL server is running
- Test connection with other resources
