
Install
Row Development Inventory İnstallation.
Setup
First, go to https://keymaster.fivem.net/ and download the purchased files.
Second, download the ox_lib file.
We use this interact system in the inventory system. If you use our version, options like changing colors will work automatically, but you can also use the project creator's version if you wish.
After that, find your inventory and qb-weapons files among your own server files and delete them.
Upload the "row-textUI" file you downloaded from keymaster with the inventory and other inventory files to your server files.
Find the sql file in the "qb-inventory" file we gave you and read it.
Go to qb-core/shared/items.lua and add the given items.
wallet = { name = 'wallet', label = 'Wallet', weight = 20000, type = 'item', image = 'wallet.png', unique = false, useable = false, shouldClose = false, description = 'The real deal...' },
pistol_magazine = { name = 'pistol_magazine', label = 'Magazine', weight = 500, degrade = 1.0, type = 'item', ammotype = 'AMMO_PISTOL', image = 'clip_attachment.png', unique = true, useable = true, shouldClose = true , description = 'Magazine'},
glasses = { name = 'glasses', label = 'Glasses', weight = 100, type = 'item', image = 'glasses.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },
mask = { name = 'mask', label = 'Mask', weight = 100, type = 'item', image = 'mask.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },
hat = { name = 'hat', label = 'Hat', weight = 100, type = 'item', image = 'hat.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },
homekey = { name = 'homekey', label = 'Home Key', weight = 100, type = 'item', image = 'home_key.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },
backpack = { name = 'backpack', label = 'Backpack', weight = 100, type = 'item', image = 'backpack2.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },
You can change the language of the file in qb-inventory/fxmanifest.lua.
Go to qb-core/server/events.lua and find the "QBCore:Server:AddItem" function and change it like this.
RegisterNetEvent('QBCore:Server:AddItem', function(itemName, amount, slot, info,created)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if not Player then return end
Player.Functions.AddItem(itemName, amount, slot, info,created)
end)
And finally edit the server.cfg initialization section like this.
ensure ox_lib
ensure interact
ensure row-textUI
ensure qb-weapons
ensure qb-inventory
Last updated