Create the SCBA Item for ESX

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.


1. Enable ESX support in r_scba/config.lua

Open:

r_scba/config.lua

Enable ESX:

Config.ESX = {
    enabled = true
}

Make sure QBCore is disabled if you’re not using it:

Config.QB = {
    enabled = false
}

2. Set the SCBA item name in the config

In your SCBA EUP config entry, set the item name:

ItemName = 'scba'

This must match the ESX item name you create in the database.


3. Create the item in your ESX database

ESX items are usually stored in the items table.

Run this SQL query:

Notes

  • 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