Framework, keys and core settings

Everything below lives in firehosev2/config.lua.

Framework and permissions

  • UseESX — enable for ESX
  • UseNewESX — enable in addition to UseESX on newer ESX versions
  • UseQBCORE — enable for QBCore
  • JobNames — jobs allowed to use the fire hose
  • UseWhitelist — standalone only: gate the hose behind Identifiers / AcePermission
  • AcePermission — ace that grants access when the whitelist is on
  • Identifiers — steam/license identifiers allowed when the whitelist is on
  • UseTarget — use qb-target or ox_target instead of key prompts
  • UseOXTarget — use ox_target rather than qb-target (UseTarget must also be true)

Leave all three framework flags false for standalone.

Keys

  • InteractionKey — 38 (E): pick up, place, drop the hose
  • InteractionKey2 — 47 (G): attach to another truck or hydrant, detach a link
  • GunTypeSwitchKey — 27 (Up Arrow): switch Water / Foam / Pressure. The middle mouse button is bound separately and is rebindable in Settings › Key Bindings › FiveM
  • PressureIncreaseKey / PressureDecreaseKey — 175 / 174 (Arrow Right / Left)
  • PressureChangeRate — how much the pressure moves per press

Core

  • WaterSupplyRate — how fast a truck's tank drains while spraying. Lower is slower. Hydrants are unaffected
  • DetectionRange — how close you must be for a truck or hydrant to register. Raise it if a chunky truck model never shows the prompt
  • WaterCannonTruckModel — the invisible helper fire truck attached to the gun so the vanilla WATER cannon works. Must be a fire truck model with a working cannon turret

Display

DisplayStyle controls how every world prompt is drawn:

  • NUI (default) — world-anchored HTML panels with proper key chips and no length limit
  • 3D — classic native world text
  • NOTIFI — notifications
  • NOTIFI2 — upper left corner
  • SUBTITLE — screen subtitle

HoverTextFont sets the font id, used by the 3D style only. Every string in Locales is editable for translation; ~g~ / ~r~ / ~w~ are GTA colour codes.

Can't find what you need? Ask on Discord — response in under 5 hours.