Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure the Flood FiveM script: increase rate, default water level, preset modes, and keybind-triggered level sequences.
shared/main.lua
increaseRate
number
0.005
defaultLevel
0.0
Steps
Steps = { [1] = { flood = 2, label = 'Mode 1 - Standard (2.0)' }, [2] = { flood = 5, label = 'Mode 2 - Medium (5.0)' }, [3] = { flood = 9, label = 'Mode 3 - High (9.0)' }, }
flood
label
KeyBindActive = true
KeyBindActive = true, KeyBinds = { { name = 'key_01', key = 'F3', action = 'force:setTargetLevel', args = { level = 300.0, timeout = 15000, afterTimeout = { action = 'force:setTargetLevel', args = { level = 0.0 } } }, } }
name
key
action
force:setTargetLevel
args.level
args.timeout
afterTimeout
args.afterTimeout
Was this page helpful?