15 lines
547 B
Lua
15 lines
547 B
Lua
if Config.Inventory ~= 'qs-inventory' then return end
|
|
|
|
-- ════════════════════════════════════════
|
|
-- QS-INVENTORY CLIENT INTEGRATION
|
|
-- ════════════════════════════════════════
|
|
|
|
function HasPhoneItems()
|
|
if not Config.ItemRequired then
|
|
return true
|
|
end
|
|
|
|
local result = exports['qs-inventory']:Search(Config.ItemName)
|
|
return result and result > 0
|
|
end
|