OX Inventory
If you use ox inventory, you can learn how to harmonize your inventory in this explanation.
Step 1: Find ox_inventory/client.lua
ox_inventory/client.luarmThrow = function(weapon)
if GetResourceState("rm_throw") and GetResourceState("rm_throw") == "started" then
if weapon == "item" and exports["rm_throw"]:useItem() then
return false
end
if weapon == GetHashKey("WEAPON_SNOWBALL") then
return false
end
if exports["rm_throw"]:useItem() then
return false
end
end
if GetResourceState("rm_weaponv") and GetResourceState("rm_weaponv") == "started" then
return weaponState
end
return true
endStep 2: Find ox_inventory:setPlayerInventory Event
ox_inventory:setPlayerInventory EventStep 3: Replace the code block you found
Additional
Last updated