Configuration

Basic Settings

Config.Debug = false -- Set to true for debugging purposes
Config.Framework = 'qb' -- 'auto', 'esx', 'qb'
Config.UseTarget = true -- ox_target, qb-target support else 'false' for 3D Text Interaction
Config.TargetResource = 'ox_target' -- 'ox_target', 'qb-target'
Config.Inventory = 'ox_inventory' -- 'ox_inventory', 'qb-inventory', 'esx_inventory', 'qs-inventory'

Notification System

Config.NotificationSystem = 'auto' -- 'auto', 'esx', 'qb', 'ox_lib', 'custom'

Controls

Key
Action
Default

close_ui

Close UI

Escape

toggle_cart

Toggle Cart

C

quick_payment

Quick Payment

Enter

search_focus

Focus Search

F

Animations

The script includes realistic animations for interactions:

  • Tablet Animation: Used when browsing the market

  • Buying Animation: Played during purchases

Config.Animations = {
    enabled = true,
    tablet = {
        dict = 'amb@world_human_seat_wall_tablet@female@base',
        anim = 'base',
        flag = 49
    },
    buying = {
        dict = 'mp_common',
        anim = 'givetake1_a',
        flag = 49
    }
}

Store Setup

Basic Store Configuration

Each store requires the following basic configuration:

Blip Configuration

Ped Configuration

Interaction Settings

Access Control

Job Restrictions

Restrict access to specific jobs:

Gang Restrictions

Limit access to certain gangs:

Item Requirements

Require specific items to access the market:

Product Management

Product Configuration

Weapon Metadata

For weapons, include additional metadata:

Categories

Available product categories:

Category
Icon
Description

market

shopping-cart

All Items

weapons

crosshairs

Weapons

drugs

pills

Drugs

tools

tools

Tools

gear

shield-alt

Gear

medical

band-aid

Medical

Payment Methods

Supported Payment Types

Security Features

Anti-Cheat Protection

Discord Webhook

Setup

Example Store Configurations

Downtown Market (Basic Setup)

Restricted High-Security Market

Troubleshooting

Common Issues

  1. Store not appearing: Check coordinates and ensure the resource is started

  2. Ped not spawning: Verify the ped model exists and coordinates are correct

  3. Access denied: Review access restrictions in the store configuration

  4. Items not purchasing: Ensure inventory system is properly configured

Debug Mode

Enable debug mode for detailed console output:

Framework Detection

If auto-detection fails, manually set your framework:

Last updated