Skip to content

Robberies ​

Banks and ATMs can be robbed. Every step is started and finished on the server: positions, items, police on duty, cooldowns and minigame answers are checked there, and the client never reports success. Loot is always marked money (ESX black_money, Config.MarkedMoney) or items.

Heist HUD

Bank heists ​

Heist Tier Police Crew Stages Alarm
Fleeca drawers (every branch) small 2 1–4 Hold up the teller: drawers over time silent, 30 s delay
Fleeca vault (every branch) medium 4 2–4 Thermite the staff door → hack the vault keypad → drill the deposit boxes silent, 45 s delay
Pacific Standard big 8 4–6 Cut the power → thermite the security door → sync hack or the manager's keycard → drill the vault door or wait for the time-lock → trolleys & gold silent, 60 s delay
Blaine County Savings (Paleto Score) big 6 3–5 Thermite the counter door → hack the panel → drill boxes → trolleys loud, at once
Union Depository endgame 10 4–6 Power → thermite the gate → sync hack → drill the vault → gold silent, 45 s delay. Off by default

The Union Depository has no vanilla interior: its coordinates are placeholders around the depository at Pillbox Hill. Point them at your MLO before you set enabled = true.

How a heist runs:

  • Points appear at the targets of the current stage (stage 1 while none runs). Press E at one.
  • The first action of stage 1 starts the robbery after the shared checks: police on duty, cooldowns (this heist, its type, and globalCooldown 900 s between any two bank heists), crew members nearby, and nothing else running at that branch.
  • Only the current stage accepts actions. A stage with options is done when any option is done.
  • Timed actions must take at least timedTolerance (80 %) of their duration, or they fail with too_fast.
  • Doors (vault, staff and security doors) open on every client, also for players who join later.
  • Pacific: two hostages; the manager carries the vault_keycard (taken once).
  • GPS tracker (Pacific, Paleto, Union): one random loot bag carries a tracker the police see on the map. /heistbag searches your bag for it.
  • The robbery ends when the crew leaves the escapeRadius, after maxSeconds, or when staff end it. The HUD shows the stages, the alarm, a police ETA guess (policeEta), the time-lock, hostages, the loot and the tracker.

Minigames ​

The server builds every puzzle from a seed and checks the answer itself.

Terminal hack, thermite and the two-player sync hack

Hack Sync hack Thermite Drill
Hack Sync Thermite Drill
Minigame How Config (Config.Robbery.minigames)
Hack Hex grid: pick the sequence, row then column then row, before the trace hits 100 % hack = { cols = 6, rows = 5, length = 5, seconds = 30 }
Sync hack Two terminals hacked by two players, both inside the stage's window seconds stage window
Thermite Remember the lit cells, then pick them; mistakes wrong picks allowed thermite = { size = 6, cells = 9, showSeconds = 3, seconds = 15, mistakes = 1 }
Drill Hold E to drill (heat rises), let go to cool. Pins heat faster; overheating fails drill = { progressPerSecond = 9, heatPerSecond = 24, coolPerSecond = 34, pins = 4, … }

Minigames (np_minigames) ​

With np_minigames started and Config.Minigames.enabled on (the default), every robbery minigame runs in np_minigames' server-validated engine and UI instead of the built-in screens above: the hex hack (vault keypads, panels), each Pacific / Union sync terminal, thermite, the drill and the ATM jackpot hack. np_banking starts them on the server with exports.np_minigames:Start, and only np_minigames' verdict counts: robbery.finish refuses a client result for those actions.

Use np_minigames game
hack hexhack Vault keypads and panels
sync_hack hexhack Each terminal is its own game; np_banking keeps the stage's window, so players start their terminals independently (np_minigames' Team would start everyone at once)
thermite thermite
drill drill
atm_hack hexhack The ATM's own trace bar follows the game's progress (onProgress)

Everything around the game stays np_banking's: action tokens, position checks (also passed as coords / maxMove, so walking off ends the game), items (thermite is burnt at the start, laptop and drill are required; np_minigames' item option is not used), the alarm on a failed hack, loot, notifications and cooldowns.

lua
-- shared/config/robbery.lua
Config.Minigames = {
  enabled = true,      -- false: the built-in screens even while np_minigames runs
  tuning = true,       -- send the Config.Robbery.minigames values you changed (they win over the difficulty preset)
  games = { hack = 'hexhack', sync_hack = 'hexhack', thermite = 'thermite', drill = 'drill', atm_hack = 'hexhack' },
  difficulty = { hack = 'medium', sync_hack = 'medium', thermite = 'medium', drill = 'medium', atm_hack = 'medium' },
}
-- per heist / stage / option, first match wins over Config.Minigames.difficulty:
R.heists.pacific.difficulty = 'hard'          -- shipped: Fleeca vault medium, Paleto + Pacific hard, Union expert
{ id = 'keypad', type = 'hack', difficulty = 'expert', minigame = { seconds = 20 }, ... }   -- a stage
R.atm.jackpot.difficulty = 'hard'             -- optional, the ATM hack

A game id other than the default (e.g. hack = 'pattern') gets only its difficulty and the stage's params. In np_admin the switch, tuning, the game and difficulty per use and the difficulty per heist are under Settings → Banking → Minigames. Without np_minigames, or with enabled = false, the built-in screens run unchanged.

Alarms, dye packs and evidence ​

  • Alarms go to np_mdt as dispatch calls (ReportCall with externalId = 'np_banking:<id>', kind alarm, a priority and the location) and are resolved when the robbery ends. Silent alarms fire after their delay, loud ones at once. Without np_mdt, every on-duty player with a job in Config.PoliceJobs gets a toast and a map blip for alarmBlipSeconds (120).
  • Inside job: a player teller (insideJob.jobs: banker, bank) holds the silent alarm of their branch for insideJob.seconds (300) with /bankalarm, once per cooldown. It is written to the audit log.
  • Dye packs: loot tables have a dyeChance; stained notes are paid at dye.valuePercent (40 %) of their value.
  • Evidence: np_banking:server:evidence fires for fingerprints (unless the ped wears gloves: the arms drawable is not in evidence.bareHands), CCTV stills (unless the location's power is cut), dye packs and skimmers. Hook it into your MDT or evidence script. See Events.

ATM jobs ​

Job Items How Police
Skimmer atm_skimmer, then blank_card Fit it on an ATM. Every card used there is logged with a PIN hint (2 digits). Use the skimmer with a blank card to write a cloned_card: a card on the victim's account with the same PIN, which burns after 3 withdrawals 0
Inspect – /atminspect (bindable): look for a skimmer. The installer always finds theirs, others with spotChance (35 %) –
Jackpotting lockpick, hacking_laptop Pick the service panel, plug in the laptop, hack on the ATM's own screen (bystanders see the glitch screen) → atm_cassette with 80 % of the ATM's cash 2
Rip-out tow_rope, then angle_grinder Hook the ATM to a truck (vehicle classes 10, 11, 12, 20) and drive off. The ATM becomes a physics prop with a GPS tracker; cut it open at a hideout with /atmcut → cassette 2
Blow it open c4 or thermite Charge in the slot, fuse 10 s. Loud alarm at once, 20–45 % of the notes burn, the rest may be dyed; the ATM is out of order 2
Cassette atm_cassette Use it to open it: marked money, 20 % dye chance –

Each ATM has a cooldown (1800 s) and each job kind a typeCooldown (120 s). Cooldowns survive restarts (bank_cooldowns).

Heist config ​

Heists are data in Config.Robbery.heists, run by one stage engine. A heist is an ordered list of stages; a stage has a type (or options) and one or more targets.

Stage type Does
interact Timed action at a target (items required / consumed)
power Like interact, cuts the power of the location (no CCTV)
thermite Thermite memory minigame, burns item (count) at the start, opens door
hack Hex-grid sequence minigame
sync_hack Two terminals hacked by two players within window seconds
drill Drill heat minigame per target
timelock Start at a console, then wait seconds
hold Hold up a teller: drawers over time
loot Grab trolleys / gold (timed action per target, loot table)
lua
Config.Robbery.heists.my_bank = {
  kind = 'my_bank', tier = 'medium', label = 'My Bank', bank = 'fleeca', branch = 'fleeca_legion',
  coords = vector3(150.0, -1040.0, 29.4), radius = 25.0,
  police = 4, crew = { min = 2, max = 4 },
  cooldown = 5400, typeCooldown = 900, global = true, maxSeconds = 1800,
  alarm = { mode = 'silent', delay = 45, priority = 2, code = '10-90' },   -- mode 'loud' = at once
  escapeRadius = 150.0,
  doors = {
    vault = { model = 'v_ilev_gb_vauldr', coords = vector3(148.03, -1044.36, 29.51), closed = 249.8, open = 159.8 },
  },
  stages = {
    { id = 'keypad', type = 'hack', label = 'robbery.stage.keypad', sub = 'robbery.stage.keypad_sub', icon = 'laptop-code',
      coords = vector3(146.92, -1046.11, 29.36), radius = 1.6, item = 'hacking_laptop', door = 'vault' },
    { id = 'vault', label = 'robbery.stage.vault', icon = 'screwdriver-wrench', options = {
        { type = 'drill', item = 'bank_drill', radius = 1.6, targets = { { id = 'door', coords = vector3(147.0, -1047.0, 29.4) } } },
        { type = 'timelock', coords = vector3(146.0, -1045.0, 29.4), radius = 1.6, duration = 4, seconds = 300 },
      } },
    { id = 'loot', type = 'loot', label = 'robbery.stage.trolleys', icon = 'sack-dollar', radius = 1.5, duration = 20, need = 1,
      targets = { { id = 't1', coords = vector3(150.0, -1050.0, 29.4), loot = 'fleeca_box' } } },
  },
}
  • need = how many targets of the stage must be done. Labels are locale keys.
  • Doors: closed / open are absolute headings; swing turns the door by that many degrees instead.
  • Loot tables (Config.Robbery.loot): every entry rolls once, kind = 'marked' (min..max $) or kind = 'item', with chance and dyeChance.
  • Fleeca branches share one interior: their points are written for Legion Square and moved to the other branches by the vault door's position and heading.

Staff ​

np_banking.robbery.reset resets cooldowns, np_banking.robbery.end ends a running robbery (np_banking.robbery grants both). See Staff tools.