mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-03 16:01:02 +00:00
To add multiple items to the callback you use it like this
QBCore.Funtions.TriggerCallback('QBCore:HasItem', function(result)
if result then
print('has items')
end
end, {"item1", "item2"})
Also still compatible with 1 item.