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
Native ox_inventory shop – players browse stock and buy weapons/ammo in the
normal inventory shop window, with live stock counts.
Ownable – any player can buy an unowned store; admins can also hand ownership
to a player directly.
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.
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.
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.
In-game admin editor (CRUD) – create stores with the placement tool, edit
settings/owner/blip/ped, move them, or delete them.
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.
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.
Revenue routing – every sale credits the store’s balance, which the owner
withdraws. Stock is persisted to the database.
Framework bridge – works on Qbox (qbx), QBCore (qb) and ESX
(auto-detected). Add more frameworks under bridge/.
Dependencies
ox_lib
ox_inventory
oxmysql
ox_target (optional — falls back to a
marker + keypress if not present; toggle with Config.useTarget)
Preview
Download here
Checkout My Tebex https://baguscodestudio.com/
My Other Works
Paid
Free
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/a/3/8/b/a38b04983e3d43786a0ebcca987c917f3afaf393.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/uploads/short-url/nkLFGb9v2bCWvydywACFua8NE55.jpeg?dl=1)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/a/3/8/b/a38b04983e3d43786a0ebcca987c917f3afaf393_2_690x385.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/shopping_cart.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/convenience_store.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/money_with_wings.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/person_standing.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/bullseye.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/hammer_and_wrench.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/label.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/briefcase.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/money_bag.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/images/emoji/twitter/electric_plug.png?v=15)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://img.youtube.com/vi/9PNvx85ofOs/maxresdefault.jpg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/7/4/3/2/7432145771fe03ab35667f9197514f4cb6eeea9c.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/uploads/short-url/gzUGeZlPKVimNSRZ6wjC7u0a2AI.jpeg?dl=1)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/7/4/3/2/7432145771fe03ab35667f9197514f4cb6eeea9c_2_517x300.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/e/6/e/f/e6eff341d3e23292afa849c7589f7c230578cc38.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/uploads/short-url/wWXUmUmPN0Qi8GuZqoFAye6uEic.jpeg?dl=1)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/e/6/e/f/e6eff341d3e23292afa849c7589f7c230578cc38_2_517x300.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/4/6/0/1/46011771f5a59d59fa24f71442421e58eca7aa77.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/uploads/short-url/9ZhLdJhZo7t6I3JS2VwobYD3sTt.jpeg?dl=1)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/4/6/0/1/46011771f5a59d59fa24f71442421e58eca7aa77_2_517x300.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/f/3/e/2/f3e2d108ceddf9343112597c5bc1fc401523822f.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum.cfx.re/uploads/short-url/yNvYBzuWpFrBca4MeZ3miXqS2cL.jpeg?dl=1)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/f/3/e/2/f3e2d108ceddf9343112597c5bc1fc401523822f_2_517x300.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/9/7/f/1/97f1f40f120341c673828c25a6345932bb428c1f.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/1/1/8/2/1182e593893405c95eeb51801b4fdcdcf2c18c11.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/1/c/7/d/1c7d5d87dd15c4884848813f6ab57ecadf1332bc.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/8/4/2/4/842466b3feee208b1e17b4e751e30bc8121760e5.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/d/9/6/d/d96d0c77b5d7eb5323f256f8f3d8817975bcc6fa.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/2/2/7/6/2276ec94dd5f63275536b250779280441a332d91.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/4X/e/5/4/e547ebff2781b5124266421c21cf8c3a653516c8.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/5X/0/2/0/8/0208e79d25321228f15ff251d15efb17e4ea75d2.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/4X/6/2/d/62d1d3a739cd92237c3b394c6968f1aa79ff636d.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/original/4X/9/6/6/9664696c9f4541fd5d4ea24cc9b435921b301b7a.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/a/3/8/b/a38b04983e3d43786a0ebcca987c917f3afaf393_2_1035x577.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/a/3/8/b/a38b04983e3d43786a0ebcca987c917f3afaf393_2_1380x770.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/7/4/3/2/7432145771fe03ab35667f9197514f4cb6eeea9c_2_775x450.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/7/4/3/2/7432145771fe03ab35667f9197514f4cb6eeea9c_2_1034x600.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/e/6/e/f/e6eff341d3e23292afa849c7589f7c230578cc38_2_775x450.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/e/6/e/f/e6eff341d3e23292afa849c7589f7c230578cc38_2_1034x600.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/4/6/0/1/46011771f5a59d59fa24f71442421e58eca7aa77_2_775x450.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/4/6/0/1/46011771f5a59d59fa24f71442421e58eca7aa77_2_1034x600.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/f/3/e/2/f3e2d108ceddf9343112597c5bc1fc401523822f_2_775x450.jpeg)
![[FREE] Ownable Gunstore [ESX/QB/QBX]](https://forum-cfx-re.akamaized.net/optimized/5X/f/3/e/2/f3e2d108ceddf9343112597c5bc1fc401523822f_2_1034x600.jpeg)
![[ESX] Poud Mine – 适用于 Fivem 服务器的采矿扩展模块。fivem资源网-fivem插件网-fivem脚本-fivem技术-fivem分享FIVEM资源网](https://forum-cfx-re.akamaized.net/original/5X/3/2/1/8/32187f638d9dc2d57e79a381eafb06ea782fbd02.jpeg)
![[esx/qbcore]记分牌4种风格fivem资源网-fivem插件网-fivem脚本-fivem技术-fivem分享FIVEM资源网](https://forum-cfx-re.akamaized.net/optimized/5X/9/d/2/0/9d20e03f5c6b162c3cf2efd1e1045d24d657c757_2_1024x682.jpeg)
![[免费] MG Garages — FiveM 车库系统 | ESX & QBCorefivem资源网-fivem插件网-fivem脚本-fivem技术-fivem分享FIVEM资源网](https://forum-cfx-re.akamaized.net/original/5X/f/a/9/b/fa9bf93ce1386e1d8a503fe4e7beb6142ac40d16.jpeg)

![[免费] PUB YELLOW JACK | MLO [免费]fivem资源网-fivem插件网-fivem脚本-fivem技术-fivem分享FIVEM资源网](https://forum-cfx-re.akamaized.net/original/5X/0/0/b/a/00baa7001127e878383f160ac60a47bed82bdcd1.jpeg)
![[免费] 🎬 HKN Works | 欢迎界面fivem资源网-fivem插件网-fivem脚本-fivem技术-fivem分享FIVEM资源网](https://forum.cfx.re/images/emoji/twitter/clapper_board.png?v=15)





暂无评论内容