/g-drugselling

G-DrugSelling is a script for FiveM QBCore for selling drugs/any items via vehicle and/or walk up, or target, at configurable coordinates

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

G-DrugSelling

G-DrugSelling is a script for FiveM QBCore for selling drugs (or any items) from the player's inventory via vehicle and/or walk up, or target, at configurable coordinates.

INSTALLATION GUIDE

  1. Drop the g-drugselling folder into your [standalone] folder (or whichever other ensured folder you want to use)

FEATURES

  • Create locations anywhere for selling items and choose sellable items and rewards for each location
  • Enable/disable locations, blips, markers, NPCs, and notifications
  • Configure means of selling by location
    • Examples include walk up, drive up, both, or target
  • Configure sellable quantities and reward amounts per item
  • Configure police required to sell and chance of police alert per location

IMAGES

Drug Selling NPC Drug Selling NPC Target Drug Selling NPC Sell Rewards

DEPENDENCIES

CREDIT

Code excerpts for NPC spawning and the concept of NPC render distance were repurposed and refactored from pickle_farming. Code excerpts for caching current police count were repurposed from qb-jewelery.