Skip to main content

Basic Configuration

Open config.lua to customize R_Store settings.

Framework Settings

Target System

Debug Mode

Commands

Configure the commands players and admins can use:

Fast Key Access

Allow players to open the store with a hotkey:
Popular keys: F4, F5, F6. Avoid keys used by other scripts.

Currency Settings

Set which currency type is used for money purchases:

Enabled Pages

Control which categories are available in the store:
Disable pages you don’t want to offer in your store.

Test Drive System

Configure the vehicle test drive feature:

Setting Test Drive Location

  1. Go to your desired location in-game
  2. Type /getcoords or similar command
  3. Copy the vector4 coordinates
  4. Paste into R.TestDrivePos

NPC Configuration

Customize the store NPC:

Map Blip

Configure the store blip on the map:
View all blip sprites and colors

Casino Integration

Link R_Store with R_Casino:
Only enable if you have R_Casino installed!

Notifications

Enable/disable purchase notifications:

Logging

Enable Discord logging for purchases:
Set your webhook in server/sv_custom.lua file.

Auto-Insert

Enable automatic database table creation:

Next Steps

Learn About Exports

Integrate with other scripts

Troubleshooting

Fix common issues