Prerequisites
Before installing R_Store, ensure you have:1
Required Dependencies
- ox_lib - UI and utilities
- oxmysql - Database operations
- Framework - ESX, QBCore, or QBX
Installation Steps
1
Download & Extract
- Download R_Store from your cfx.re portal portal
- Extract the folder to your server’s
resourcesdirectory - Ensure the folder is named
r_store
2
Database Setup
Choose one of the following methods:
Method 1: Manual Import
Import thesql.sql file from the r_store folder into your database using HeidiSQL, phpMyAdmin, or your preferred database tool.Method 2: Auto-Insert (Recommended)
- Open
config.lua - Set
R.EnableAutoinsert = true - Start the resource
- Set
R.EnableAutoinsert = falseafter tables are created (if you wish)
3
Configure Framework
Open
config.lua and configure your framework:- ESX
- QBCore
- QBX
4
Configure Target (Optional)
If you use a target system:If you don’t use target:
5
Add to server.cfg
Add r_store to your server.cfg after dependencies:
Next Steps
Troubleshooting
Having issues? Check common problems:Common Issues
View troubleshooting guide
