Installation

Dependencies

QBCore Framework qb-target or ox_target qb-inventory (Custom Inventory possible)


How to install

Go to qbcore/server/player.lua Find the function QBCore.Player.CheckPlayerData

Under the function add the following line:

PlayerData.metadata['motelroom'] = PlayerData.metadata['motelroom'] or nil

Now it should look like this:

ESX

Add this to ox_inventory/data/stashes.lua


Custom Inventory

Example for QBCore & ESX users which are using a different inventory. Config.UseQBInventory =false

Config.UseOXInventory =false

Now you can create your own shop with your inventory and open the shop via a export in the config.lua

Last updated