Create the SCBA Item for QBCore
This guide explains how to create and configure the SCBA item for QBCore, using r_scba with a usable item registered in server/sv_utils.lua.
1. Enable QBCore support in r_scba/config.lua
Open:
r_scba/config.luaEnable QBCore:
Config.QB = {
enabled = true
}Make sure ESX is disabled if you’re not using it:
Config.ESX = {
enabled = false
}2. Set the SCBA ItemName in the config
In your SCBA EUP entry inside Config.EUP, set the item name:
ItemName = 'scba'This must match the item name you will define in your QBCore inventory.
3. Create the SCBA item in QBCore inventory
If you use qb-inventory
Open:
Add:
Field meaning (quick)
name: internal item id (must be
scba)label: display name
weight: item weight
image: icon file name
unique = true: prevents stacking (recommended)
useable = true: allows using the item
If your inventory structure is slightly different, keep the same idea: item name must equal
ItemName.
4. Add the SCBA icon (image)
Most QBCore inventories load images from:
You already have the icon here:
Copy it to:
The image filename must match the image = 'scba.png' value.
5. Restart and test
Restart the server (or restart affected resources)
Give yourself the item (
scba)Use it in your inventory
Last updated