fix(rv-maphold): foloseste QBCore nativ pt HasItem, fara export qb-inventory
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
local function exportHandler(exportName, func)
|
||||
AddEventHandler(('__cfx_export_qb-inventory_%s'):format(exportName), function(setCB)
|
||||
setCB(func)
|
||||
end)
|
||||
end
|
||||
|
||||
exportHandler('HasItem', HasItem)
|
||||
Reference in New Issue
Block a user