Owned stores and jobs
Let players buy and run the gun stores, or hand a store to a framework job.
~1 min read
Every store can be bought at its boss desk (E Office). Turn it off with Config.Business.enabled = false.
| Setting | Default | Meaning |
|---|---|---|
price | 850,000 (Pillbox Hill 1.4M, Cypress Flats 1.2M) | Store price from the buyer's bank |
manyStores | false | One store per player |
wholesale | 0.55 | What a gun costs the business, as a share of its list price |
deliveryMinutes | 10 | When an order lands on the shelf |
shelf | 6 | Most pieces of one gun in the store, orders included |
factor | 0.8 to 1.4 | The price level a manager may set |
otherShare | 0.25 | The business's cut of ammo, attachment and armour sales |
sellBack | 0.6 | Share paid back when the owner sells the store |
Ranks
| Rank | Can do |
|---|---|
| Trainee | Look around the office |
| Seller | Order stock |
| Manager | Set prices, hire staff, move money |
A store run by a job
List the store in Config.Business.jobs (for example gs_pillbox = 'dripguns_pillbox'). Everyone with that job uses the office; the rank follows the job grade (0 Trainee, 1 Seller, 2 Manager, 3 and up boss). Example jobs are in install/: jobs_esx.sql, jobs_qbcore.lua, jobs_qbox.lua.
Tip
Opening the office from a target script or an NPC:TriggerEvent('vlc-drip-gunstore:client:office', storeId).Was this page helpful?