Configuration

Misc Values

-- Misc Options
main = {
    removalDistance = 10.0, -- This is the distance to remove props
    fanSmokeRemovalDistance = 50.0, -- This is the distance for fans to remove smoke
    spawnDistance = 300.0,
    decalType = 5004,
    decalWidth = 0.07,
    decalHeight = 0.07,
}

The removalDistance is the distance your player must be nearby to a fan/stabiliser to remove it.

The fanSmokeRemovalDistance property sets the distance for fans to remove smoke, which is set to 50 metres by default.

The spawnDistance is the distance at which our resource will spawn in fans/stabilisers for efficiency.

The decal settings allow you to set the type, width and height of the decal with the Circular Saw.

Controls

controls = {
    toggleFanControl = 47,
    breakDoorControl = 191,
    openDoorControl = 19,
    spreadersOpenDefaultKey = "y", -- This utilises FiveM Key Mapping, meaning it is adjustable in Settings > Keybinds > FiveM
    spreadersCloseDefaultKey = "u", -- This utilises FiveM Key Mapping, meaning it is adjustable in Settings > Keybinds > FiveM
}

This section allows you to set controls used within the resource. For a list of controls, see here.

The spreaders controls use FiveM Key Mapping, meaning you can set the default control in the config file, but users can change this in their own Settings > Keybinds > FiveM.

Commands

FanCommand = {
    enabled = true,
    commandName = "fan",
}

SpreadersCommand = {
    enabled = true,
    commandName = "spreaders",
}

SawCommand = {
    enabled = true,
    commandName = "saw",
}

HalliganCommand = {
    enabled = true,
    commandName = "halligan",
}

StabilisersCommand = {
    enabled = true,
    commandName = "stabiliser",
}

The next section of the config allows you to enable/disable the various commands, along with setting the name for them.

Permissions, Items and Notifications

Permissions, Items and Notifications will be dealt with on the next page of the documentation.

Last updated

Was this helpful?