Nass Scripts
  • Nass Scripts
  • 📚nass_lib
    • Dependencies
    • Changelog
    • Config
  • Scripts
    • 💰Serverstore
    • 🎵Music Player
      • Dependencies
      • Installation
      • Changelog
      • Config
    • 👮Bossmenu
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Server Exports
      • Config
      • Common Issues
    • 💵Billing
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Server Exports
      • Config
      • Common Issues
    • 🔫Paintball
      • Dependencies
      • Installation
      • Changelog
      • Exports
        • Client Exports
      • Config
      • Common Issues
    • 💡Neons
      • Installation
      • Changelog
      • Exports
        • Client Exports
      • Config
    • 🏎️Dragstrips
      • Dependencies
      • Installation
      • Changelog
      • Config
Powered by GitBook
On this page
  1. Scripts
  2. Paintball

Common Issues

Please check this page before contacting support in our discord

PreviousConfigNextNeons

Last updated 1 day ago

SCRIPT ERROR: Error executing native 0xbf0fd6e56c964fcb
  1. Stop your server

  2. Update your to the latest recommended

  3. then clear your server cache

  4. Start your server

Ox inventory on QBCore not disabling inventory from opening in a paintball game

Go to the client/unlocked.lua file, and near line 90 you will see these

if GetResourceState('qb-inventory') == 'started' then LocalPlayer.state:set('inv_busy', true, true) end
if GetResourceState('ox_inventory') == 'started' then exports.ox_inventory:weaponWheel(true) end
if GetResourceState('qs-inventory') == 'started' then exports['qs-inventory']:WeaponWheel(true) end

Replace those 3 with these

if GetResourceState('qb-inventory') == 'started' then LocalPlayer.state:set('inv_busy', true, true) end
if GetResourceState('ox_inventory') == 'started' then
    exports.ox_inventory:weaponWheel(true)
    LocalPlayer.state.invBusy = true
end
if GetResourceState('qs-inventory') == 'started' then exports['qs-inventory']:WeaponWheel(true) end

Next near line 251 you will see almost the same thing

if GetResourceState('qb-inventory') == 'started' then LocalPlayer.state:set('inv_busy', false, true) end
if GetResourceState('ox_inventory') == 'started' then exports.ox_inventory:weaponWheel(false) end
if GetResourceState('qs-inventory') == 'started' then exports['qs-inventory']:WeaponWheel(false) end

And replace those with these

if GetResourceState('qb-inventory') == 'started' then LocalPlayer.state:set('inv_busy', false, true) end
if GetResourceState('ox_inventory') == 'started' then
    exports.ox_inventory:weaponWheel(false)
    LocalPlayer.state.invBusy = false
end
if GetResourceState('qs-inventory') == 'started' then exports['qs-inventory']:WeaponWheel(false) end

🔫
server artifacts