Create the SCBA Item for ESX
Last updated
This page explains how to create and configure the SCBA item for ESX, using the built-in server/sv_utils.lua logic from r_scba.
r_scba/config.luaOpen:
r_scba/config.luaEnable ESX:
Config.ESX = {
enabled = true
}Make sure QBCore is disabled if you’re not using it:
Config.QB = {
enabled = false
}In your SCBA EUP config entry, set the item name:
ItemName = 'scba'This must match the ESX item name you create in the database.
ESX items are usually stored in the items table.
Run this SQL query:
name must be exactly: scba
label is the display name
weight depends on your ESX version / weight system
If your ESX doesn’t use weight in the DB, remove the weight field from the query.
Last updated
INSERT INTO items (name, label, weight) VALUES
('scba', 'MSA G1 SCBA', 10);