Skip to main content

config/config.lua

The Gabz variant uses the same configuration structure as the other Ammunation robbery scripts. See the FM Ammunation Configuration page for the full field reference.

Main Settings

debug
boolean
default:"false"
Shows polyzones created inside the game.
TestingMode
boolean
default:"false"
Disables all minigames for testing.
RequireBag
boolean
default:"true"
Requires a bag item to loot crates.
MinimumPolice
number
default:"0"
Minimum police required online. Set to 0 to disable.
TotalActiveRobberies
number
default:"0"
Maximum simultaneous active robberies. Set to 0 to disable.

Cooldowns & Limits

Cooldown.Global
boolean
default:"true"
When true, all locations share one cooldown after a robbery.
Cooldown.Timer
number
default:"180"
Cooldown duration in minutes.

Required Items

Items
table
Items = {
    ["Circuit"] = "x_circuittester",
    ["TrojanUSB"] = "x_trojanusb",
    ["TrojanUSB2"] = "x_trojanusb2",
    ["Lockpick"] = "advancedlockpick",
    ["Bag"] = "bag",
    ["Key"] = "ammunation_key",
    ["Phone"] = "x_phone",
}

Store Locations

  • Config.ShootingRanges
  • Config.GunStores
  • Config.Stores
Reward tables: Config.RegisterGunStores, Config.RegisterShootingRanges, Config.Loot, and Config.Props.

Logs

Configured in config/logs.lua.