
Install
Row Development Inventory İnstallation.
Setup
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'},
backpack = { name = 'backpack', label = 'Backpack', weight = 100, type = 'item', image = 'backpack2.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = '' },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)Last updated