Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.36 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.36 KB

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

Coming Soon

DEPENDENCIES

CREDIT

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