Credits Not Updating
Credits don't update after purchase
Credits don't update after purchase
Problem: Player credits don’t change after making a purchase or receiving credits from admin.Solutions:
1
Check Database Connection
Verify oxmysql is properly installed and connected:
2
Verify Database Tables
Check that these tables exist in your database:
r_store_playersr_store_purchases
3
Check Server Console
Look for SQL errors in your server console.
4
Verify Player Identifier
Ensure your framework’s player identifier matches the database format. Check
server/sv_*.lua for identifier handling.Purchase Issues
Vehicles not spawning
Vehicles not spawning
Problem: Purchased vehicles don’t spawn.Solutions:
1
Verify Vehicle Names
Ensure vehicle spawn names match your server’s vehicle resources. Check the vehicle configuration in the script.
2
Check Framework Vehicle Function
Test if your framework’s vehicle spawning works with other resources.
3
Check Garage Space
Some frameworks require garage space. Verify the player has available garage slots.
4
Check Console Errors
Look for errors in server console when purchasing vehicles.
Items not received
Items not received
Problem: Items purchased but not added to inventory.Solutions:
-
Verify inventory system configuration matches your server:
- Check if inventory is full
- Ensure item names match your inventory items
- Check server console for errors
Weapons not given
Weapons not given
Problem: Weapons purchased but not received.Solutions:
- Check inventory system compatibility
- Ensure inventory has space
Money not added
Money not added
Problem: Money purchases don’t add funds.Solutions:
-
Check currency configuration:
- Verify the currency type exists in your framework
- Check server console for errors
Test Drive Issues
Test drive not starting
Test drive not starting
Problem: Test drive doesn’t spawn vehicle.Solutions:
-
Check test drive spawn location is valid:
- Ensure the coordinates are accessible (not in a building or underwater)
- Verify vehicle model is valid
Integration Issues
R_Casino integration not working
R_Casino integration not working
Problem: Casino button doesn’t appear or doesn’t work.Solutions:
- Ensure R_Casino is installed and running
-
Enable casino integration:
- Verify resource name matches exactly
- Ensure r_casino is started before r_store
R_FFA can't use credits
R_FFA can't use credits
Problem: R_FFA wagers don’t use store credits.Solutions:
-
In R_FFA config, enable store credits:
- Ensure resource name matches exactly
-
Restart both resources:
UI/Display Issues
Images not loading
Images not loading
Problem: Vehicle/item images don’t display.Solutions:
- Check if image URLs are valid
- Check browser console for 404 errors
Database Issues
Table doesn't exist errors
Table doesn't exist errors
Problem: SQL errors about missing tables.Solutions:
- Import the SQL file manually
-
Or enable auto-insert:
- Start the resource once again.
