๐Ÿ‚ox_inventory

If you are using ox_inventory, you will need to replace the following code. To quickly find the code to edit, open the client and then hit CTRL+F and then search up if weaponType ~= 0 and weaponType ~= `GROUP_UNARMED` then ox_inventory/client.lua at around line 1341:

if weaponType ~= 0 and weaponType ~= `GROUP_UNARMED` then
    if not exports["pug-paintball"]:IsInPaintball() then
        Weapon.Disarm(currentWeapon, true)
    end
end

To quickly find the code to edit, open the client and then hit CTRL+F and then search up if usingItem or invBusy == true or IsPedCuffed(playerPed) then

Replace the following code in ox_inventory/client.lua at around line 1394:

if usingItem or invBusy == true or IsPedCuffed(playerPed) then
    if not exports["pug-paintball"]:IsInPaintball() then
        DisablePlayerFiring(playerId, true)
    end
end

VIDEO TUTORIAL HERE: https://youtu.be/SsfpJ2Wg7Mc

Last updated