How To Use
Setup a new shop
Everything needed is in
config.luaand its essentially the same as qb-shop's config.LimitEnable this to add Stash features, This adds limits to items in stores and gets refilled at each restartMaxSlotsSet this to your player inventory slot count, this is default "41"BlackMarketEnable to add blackmarket locations (defined at the bottom of this file)MeasurementCustom Weight measurement, default "kg"Gabz247Enable if using gabz 247 storesGabzAmmuEnable if using gabz Ammunation storesVendOverride-- Enable this if you want all the vending machines to use this scriptRandomAmount-- Sets wether a stash should have a "random" amount of stock or full.
Examples and Explanations

Example of a
shop
Example of a
producttable injim-shops/products.lua
Support for external shops
You can easily change shops created in other scripts by swapping out the inventory event with my custom event
If you have a script that opens a shop, you can swap out the event
inventory:server:OpenInventoryforjim-shops:ShopOpenand it will open in my shop layout instead of the default inventory layoutAll my scripts have an option to toggle this in the config
But it's very unlikely someone elses script won't
For example:
in
qb-ambulancejob > client > job.luathere is the event
Simply changing the event name from
inventory:server:OpenInventorytojim-shops:ShopOpenwill make it use my script instead
Support for Selling Locations
In Jim-Shops Version 3.0.04+ theres now support for Ped Seller Shops (eg. Pawn Shops)
Inside jim-shops/shopSell.lua you can add a new location anywhere you want
Example of a shop:
Example of the product table:
This creates a NPC in the casino that players can sell casino chips to for $1 a chip.
Last updated