Files
overextended.github.io/docs/ox_inventory/Functions/Client/Statebags/invBusy.md
T
2022-12-11 15:00:43 +11:00

289 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