Configuration

Configure jobs, fires, rewards, vehicles, outfits, and shop items.

Configure the resource through config.lua.

Job access

Set Config.Job to the job allowed to start firefighter work.

Lua
Config.Job = 'ambulance'

Set this value to "none" to allow every player to start jobs.

Fire groups

Each group contains one or more possible fire points.

Lua
Config.FireGroups = {
    {
        name = 'My Location',
        points = {
            vector3(x, y, z),
            vector3(x, y, z),
        }
    },
}

Fire intervals

Control fire frequency and concurrency.

Lua
Config.MaxActiveFires = 3 -- Maximum simultaneous fires
Config.FireInterval = 10  -- Minutes between spawns while on duty

XP and rewards

These values apply to every extinguished fire point.

Lua
Config.XPPerFire = 50
Config.CashPerFire = 500
Config.BankPerFire = 0

Level thresholds

Define the XP required for each level.

Lua
Config.LevelXP = {
    [1] = 0,
    [2] = 200,
    [3] = 500,
    -- Add further levels here.
}

Outfit

Set male and female component IDs in Config.Outfit.

Players can apply this uniform or restore their default skin.

Vehicles

Set dispatchable vehicles and their spawn point.

Lua
Config.Vehicles = {
    { label = '🚒 Fire Engine', model = 'firetruk', livery = 0 },
}

Config.VehicleSpawnPoint = vector4(x, y, z, heading)

Shop items

Set cash-purchased supplies in Config.ShopItems.

Lua
Config.ShopItems = {
    {
        name = 'fireextinguisher',
        label = '🧯 Fire Extinguisher',
        price = 150,
        description = 'Essential firefighting equipment.',
        icon = '🧯',
    },
}
Last updated 2026-11-08