๐Inventory
Configure the script inventory dependency
if GetResourceState('ox_inventory') == 'started' then
Shared.Inventory = 'ox' -- don't rename it
elseif GetResourceState('mm_inventory') == 'started' then
Shared.Inventory = 'qb' -- don't rename it
else
Shared.Inventory = false
Shared.Ready = false
error('No inventory found', 0)
endLast updated