Skip to content

Corner Selling v2.2.4

Corner Selling (sd-selling) is an advanced drug dealing and corner selling system for FiveM. Sell drugs to NPCs in designated zones, progress through a 5-level reputation system, complete delivery missions, encounter bulk buyers, and track your milestones. Features dynamic pricing, robbery mechanics, money laundering, and a full statistics system.

Preview

Corner Selling — Full Showcase

Key Features

Zone-Based Selling

  • Multiple configurable selling zones (radius or polygon-based)
  • Each zone has its own drug selection, pricing, cooldowns, and level restrictions
  • Some zones require minimum police online
  • Optional map blips per zone

5-Level Reputation System

LevelNameXP RequiredSelling HoursPrice MultiplierPolice AlertRobbery Risk
1Pusher021:00-02:001.0x30%0%
2Runner25020:00-04:001.1x25%15%
3Hustler1,00019:00-05:001.2x20%13%
4Kingpin2,00018:00-06:001.3x15%20%
5Legend3,50017:00-07:001.4x10%3%

Drug Sale Mechanics

  • Randomized buyer behavior -- price and quantity vary per NPC
  • Smart quantity logic -- adapts based on player's current inventory
  • Custom animations -- per-drug handshake animations (configurable)
  • Rejection system -- buyers can refuse with separate police alert chance
  • Metadata support -- sell different variants of the same drug (e.g., weed strains) via ox_inventory

Robbery System

  • Buyers can steal your drugs and flee
  • Chase and incapacitate the NPC to retrieve your product
  • Drugs are destroyed if the buyer escapes beyond 100m
  • 5-minute global cooldown between robberies

Delivery Missions

Three delivery tiers available from the Drug Lord NPC:

TierUnitsStopsXP per StopProcessing Time
Small503-820 XP5 minutes
Medium1255-1225 XP5 minutes
Large2508-1330 XP5 minutes

Each tier has multiple randomized routes with varying payout boosts (0-20% bonus per stop).

Bulk Sale Encounters

  • Random encounters trigger based on level (2-6% chance)
  • Bulk purchases of 25-40 units at 1.5x market price
  • Meeting at one of 17 random locations across the map
  • 100 XP bonus per completed encounter
  • 30-minute cooldown between encounters

Milestone System

Track your progress and earn rewards:

  • General milestones based on total units sold
  • Drug-specific milestones for individual drugs
  • Rewards: items, XP, or money
  • Multi-stage milestones with escalating rewards

Money Laundering

  • Level-based tax on dirty money (Level 1: 25%, Level 5: 5%)
  • Support for marked bills, bands, and rolls
  • Optional item-based washing system

Statistics

  • Track units sold per drug, total XP, and more
  • View stats from the NPC interaction menu
  • Persistent database storage

Supported Frameworks

FrameworkStatus
qb-coreFully supported
qbx_coreFully supported
es_extended (ESX)Fully supported

Supported Inventories

InventoryStatus
ox_inventoryFully supported (metadata, drug variants)
tgiann-inventorySupported
jaksam_inventorySupported
qs-inventorySupported
qs-inventory-proSupported
qb-inventorySupported
ps-inventorySupported
lj-inventorySupported
codem-inventorySupported

Supported Target Systems

TargetStatus
ox_targetFully supported
qb-targetFully supported
qtargetFully supported

Dependencies

DependencyOptions
Frameworkqb-core / qbx_core / es_extended
Librarysd_lib (required)
Target Systemox_target / qb-target / qtarget
UI Libraryox_lib
Inventoryox_inventory (recommended, for metadata support)
Databaseoxmysql

INFO

Framework, inventory, and target system are all auto-detected via sd_lib. The sd_cornerselling database table is created automatically on first start.

File Structure

sd-selling/
  client/
    main.lua              -- Client-side selling, deliveries, encounters, robbery
  server/
    logs.lua              -- Logging configuration
    main.lua              -- Server-side rewards, XP, milestones, encounters
  locales/
    ar.json               -- Arabic
    de.json               -- German
    en.json               -- English
    es.json               -- Spanish
    fr.json               -- French
  images/
    bands.png
    rolls.png
  [SQL]/ESX/items.sql     -- ESX item definitions
  config.lua              -- All configuration
  fxmanifest.lua