Page cover

🧠How to Install

FiveStar Script

Requirements

Before starting, make sure you have the latest version of qb_target Script installed on your server

You can fully customize the config file and customize the qb_target or qb_inventory or ox_invnetory scripts

Install the bob74_ipl

Add Local State

Disable Inventory

Open the qb-inventory/client/main.lua and replace lines 307 to 319 with the following code 👇

for i = 1, 5 do
    RegisterCommand('slot_' .. i, function()
        if LocalPlayer.state.Paintball then return end
        local itemData = PlayerData.items[i]
        if not itemData then return end
        if itemData.type == "weapon" then
            if holdingDrop then
                return QBCore.Functions.Notify("Your already holding a bag, Go Drop it!", "error", 5500)
            end
        end
        TriggerServerEvent('qb-inventory:server:useItem', itemData)
    end, false)
    RegisterKeyMapping('slot_' .. i, Lang:t('inf_mapping.use_item') .. i, 'keyboard', i)
end

Add License

Please put your license in server/license.lua | If your script is encrypted, enter your license

Last updated

Was this helpful?