[FREE] Ownable Gunstore [ESX/QB/QBX]

BCS Gunstore

This is an AI slop for testing, but I am able to further improve this script if you would like to request a feature you can do so in the GitHub.

Ownable gun stores for FiveM, fully integrated with ox_inventory. Browsing and
buying happens inside the native ox_inventory shop UI β€” there is no standalone NUI.
Stores can be created/edited/deleted in-game by admins, purchased by players, and
managed by their owners (stock, prices, name, blip).

Features

  • :shopping_cart: Native ox_inventory shop – players browse stock and buy weapons/ammo in the
    normal inventory shop window, with live stock counts.
  • :convenience_store: Ownable – any player can buy an unowned store; admins can also hand ownership
    to a player directly.
  • :money_with_wings: Sell back to the system – owners can sell their store back for a configurable
    percentage of its price (Config.resellPercent); it returns to the for-sale pool.
  • :person_standing: NPC or point target – a store’s target can be a spawned ped (any
    ped model) or a plain
    point. Set/clear the ped per store at any time.
  • :bullseye: Raycast placement preview – placing or moving a store shows a live preview at
    your crosshair: a transparent ghost ped (or a ground marker) you can rotate
    (arrow keys / mouse wheel) and confirm with E.
  • :hammer_and_wrench: In-game admin editor (CRUD) – create stores with the placement tool, edit
    settings/owner/blip/ped, move them, or delete them.
  • :label: Dynamic wholesale stock prices – when system restocking is on, owners pay
    per unit to restock. Admins set a per-item wholesale price (stored in the DB, shared
    by all stores) in /gunstore; unset items use Config.defaultStockPrice. Stops
    owners restocking for free.
  • :briefcase: In-game owner manager – stock up, set per-item prices, restock, rename the
    store (the blip name follows the store name), change the blip color/sprite/scale,
    withdraw earnings, and sell the store back.
  • :money_bag: Revenue routing – every sale credits the store’s balance, which the owner
    withdraws. Stock is persisted to the database.
  • :electric_plug: Framework bridge – works on Qbox (qbx), QBCore (qb) and ESX
    (auto-detected). Add more frameworks under bridge/.

Dependencies

Preview




Download here

Checkout My Tebex https://baguscodestudio.com/

My Other Works

Paid
MULTICHAR & SPAWN SELECTOR - Bagus Code Studio THUMBNAIL MASBAGUS TUNING

DRIVING SCHOOL - Bagus Code Studio LICENSE MANAGER & BADGE MANAGER - Bagus Code Studio

HOUSING - Bagus Code Studio Housing_Job

COMPANY MANAGER - Bagus Code Studio JOB CENTER - Bagus Coded Studio

Free
Gemini_Generated_Image_bgmlorbgmlorbgml Auction YT

BCS_hud image

BCS_license_test image

Code is accessible Yes
Subscription-based No
Lines (approximately) 300+
Requirements oxmysql, ox_lib
Support In Github only
7 Likes

i would honestly toss it into ai and have it build a nice ui for this.

1 Like

Yeah if there are enough request i can do that. But honestly been too sick with AI UIs all over the marketplace lol, just wanted something integrated with available inventory.

1 Like

i can be mad at that, i just think anything is better than ox_lib, im not hatin on the script , im useing it lol. just hate ox_lib and native menus.

1 Like