Files
overextended.github.io/docs/ox_inventory/Functions/Client/Statebags/invBusy.md
T
2022-11-30 19:18:01 +01:00

285 B

title
title
invBusy

Returns whether the player's inventory is currently running an action (i.e. using an item)

  • invBusy: boolean
local isInventoryBusy = LocalPlayer.state.invBusy

if isInventoryBusy then
  -- Do stuff when busy
else
  -- Do stuff when not busy
end