Studios
ATM Robberyhouse-3.jpg

Examples

SoonATM RobberyQBCore · Qbox · ESX
PAGE 04 OF 06  ·  CONFIGURATION → EXAMPLES → TROUBLESHOOTINGdocs.glitchstudios.dev
Browse docs

Start without a tablet#

With no glitch-criminaltablet running, the script pays from Config.Standalone. A cash-only server with a lower police requirement:

Config.Gate.minPolice = 1

Config.Standalone = {
    pot     = { 2500, 3500 },
    account = 'cash',
}

Use ox_lib skill checks only#

If you do not run glitch-minigames, auto already falls back to skill checks. To force them even when it is running, and make the hack harder:

Config.Minigame = {
    provider = 'ox_lib',
    oxHack   = { 'medium', 'medium', 'hard' },
    oxDrill  = { 'easy', 'medium', 'medium', 'hard' },
}

Make the escape harder#

Require the ATM to be at least 400 metres from the rip-out point and keep police further away before the rope can come off:

Config.Escape = {
    minDistance  = 400.0,
    policeRadius = 250.0,
    maxCarSpeed  = 2.0,
}

Longer drag, more tugs#

Config.Pull.tugs       = { 20, 30 }
Config.Pull.maxMinutes = 45

Gate behind another tablet job#

With glitch-criminaltablet running, require five completed convenience store robberies and some REP:

Config.Gate.minRep   = 500
Config.Gate.requires = {
    { jobId = 'store_rob', minCompletions = 5, label = 'Convenience Store' },
}

Use a different dispatch#

Config.Dispatch = 'builtin'     -- or 'none', or leave 'auto'
Config.PoliceJobs = { 'police', 'sheriff' }

Sell the tools#

The resource only checks the inventory. A criminal vendor entry for ox_inventory shops can sell the tools:

{ name = 'atm_hacker', price = 2500 },
{ name = 'rope',       price = 150 },
{ name = 'drill',      price = 400 },

Test a full run#

  1. Give yourself an atm_hacker, a rope and a drill, and set Config.Gate.minPolice = 0 while testing.
  2. Target a wall ATM, choose Attach skimmer and pass the hack.
  3. Stay within 15 metres for 60 seconds.
  4. Choose Tie rope to ATM, park a car within 8 metres and choose Hook rope to vehicle.
  5. Drive away and tug until the ATM tears out.
  6. Stop the car, remove the rope, then choose Take Apart ATM.
  7. Use /atmreset to clear the cooldowns before the next test.