Server-Side
This section documents all server-side exports from devm-bridge, unified across: Frameworks: es_extended, qb-core, qbx_core Inventories: ox_inventory, qb-inventory, qs-inventory
🔁 Core Framework Exports
RegisterUsableItem(item, callback)
RegisterUsableItem(item, callback)exports['devm-bridge']:RegisterUsableItem('usb', function(source)
print(('Player %s used a USB'):format(source))
end)UseItem(id, item)
UseItem(id, item)exports['devm-bridge']:UseItem(source, 'phone')AddMoney(id, amount)
AddMoney(id, amount)exports['devm-bridge']:AddMoney(source, 1000)RemoveMoney(id, amount)
RemoveMoney(id, amount)AddAccountMoney(id, account, amount)
AddAccountMoney(id, account, amount)RemoveAccountMoney(id, account, amount)
RemoveAccountMoney(id, account, amount)GetAccountMoney(id, account)
GetAccountMoney(id, account)GetJob(id)
GetJob(id)GetWeight(id)
GetWeight(id)GetIdentifier(id)
GetIdentifier(id)GetCoords(id)
GetCoords(id)GetName(id)
GetName(id)Kick(id, reason)
Kick(id, reason)📦 Inventory Exports
AddInventoryItem(id, item, count, metadata?)
AddInventoryItem(id, item, count, metadata?)RemoveInventoryItem(id, item, count, metadata?)
RemoveInventoryItem(id, item, count, metadata?)GetInventoryItem(id, item)
GetInventoryItem(id, item)GetInventoryItems(id, item)
GetInventoryItems(id, item)SetItemMetadata(id, slot, metadata)
SetItemMetadata(id, slot, metadata)🔄 Notes
Last updated