Vanguard Labs
  • Documentation
  • VANGUARD CORE
    • ๐Ÿ“ฆVanguard_Bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications UI
      • Custom Context-Menu UI
  • ๐Ÿ“Scripts
    • ESX
      • ๐Ÿ’ผAdvanced Boss Menu
        • Config file
      • ๐Ÿ‘ฎโ€โ™‚๏ธAdvanced Police Job
        • Config file
      • ๐ŸŽ’Advanced Backpack
        • Config file
      • ๐Ÿš”Advanced K9 System
        • Config file
      • ๐Ÿš—Advanced Vehicle Inspection Job
        • Config file
      • ๐Ÿ’ŠAdvanced Drug Selling
        • Config file
      • ๐Ÿ’ŽMining System 3 IN 1
        • Config file
      • ๐ŸŽ…Christmas Gifts
        • Config file
      • ๐Ÿค˜Gang Actions
        • Config file
      • ๐ŸฉผCrutch System
        • Config file
      • ๐Ÿ’ณWallet System
        • Config file
      • ๐ŸŽ๏ธAdvanced Dealership
        • Config file
    • QBCore
      • ๐Ÿ’ผAdvanced Boss Menu
        • Config file
      • ๐Ÿ‘ฎโ€โ™‚๏ธAdvanced Police Job
        • Config file
      • ๐ŸŽ’Advanced Backpack
        • Config file
      • ๐Ÿ’ŠAdvanced Drug Selling
        • Config file
      • ๐Ÿš”Advanced K9 System
        • Config file
      • ๐Ÿš—Advanced Vehicle Inspection Job
        • Config file
      • ๐Ÿ’ŽMining System 3 IN 1
        • Config file
      • ๐ŸŽ…Christmas Gifts
        • Config file
      • ๐Ÿค˜Gang Actions
        • Config file
      • ๐ŸฉผCrutch System
        • Config file
      • ๐Ÿ’ณWallet System
        • Config file
      • ๐ŸŽ๏ธAdvanced Dealership
        • Config file
    • Free
      • ๐Ÿง[ESX/QBCORE] ATM Robbery
        • Config file
Powered by GitBook
On this page
  1. Scripts
  2. Free
  3. [ESX/QBCORE] ATM Robbery

Config file

----              _  _     _  _     _  _     _  _     _  _     _  _     _  _     _  _   
----            _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ 
----            _  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|
----           |_      _|_      _|_      _|_      _|_      _|_      _|_      _|_      _|
----             |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|  
----
----
----             __     __                              _   _          _         
----             \ \   / /_ _ _ __   __ _  __ _ _ __ __| | | |    __ _| |__  ___ 
----              \ \ / / _` | '_ \ / _` |/ _` | '__/ _` | | |   / _` | '_ \/ __|
----               \ V / (_| | | | | (_| | (_| | | | (_| | | |__| (_| | |_) \__ \
----                \_/ \__,_|_| |_|\__, |\__,_|_|  \__,_| |_____\__,_|_.__/|___/
----                                |___/                                        
---- 
----                                 VAMNGUARD LABS | ATM ROBBERY
----
----               Thank you for purchasing our script; we greatly appreciate your preference.
----        If you have any questions or any modifications in mind, please contact us via Discord.
----
----                           Support and More: https://discord.gg/G5r3Qq2j4v
----
----              _  _     _  _     _  _     _  _     _  _     _  _     _  _     _  _   
----            _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ 
----            _  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|_  ..  _|
----           |_      _|_      _|_      _|_      _|_      _|_      _|_      _|_      _|
----             |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|   |_||_|  
----
----

Config = {}

-- Choice your framework: 
Config.Framework = 'Legacy'  -- | Use 'Legacy' for most recent ESX Versions. | Use 'oldesx' for old ESX Versions. | Use ยดยดQBcore`` for QBCore most recent versions.

-- Edit who receives the notification and blip about ATM Robbery.
Config.AlertJobs = { 'police',  'psp',  } 

-- Blip configuration.
Config.BlipSprite = 161  -- Blip type (can be changed to any valid value)
Config.BlipColor = 1     -- Blip color (1 is red, can be changed as preferred)
Config.BlipScale = 0.8   -- Blip scale
Config.BlipDuration = 60 -- Duration in seconds for how long the blip will remain visible
Config.BlipName = "ATM Robbery" -- Name displayed on the blip

-- Key configuration.
Config.RobberyKey = 23 -- Start Robbing 23
Config.CancelRobberyKey = 244 -- Stop Robbing 244

-- Time and Notification Settings ### 
Config.CooldownTime = 30  -- Cooldown in minutes
Config.RobberyDuration = 60  -- Robbery duration in seconds
Config.NotificationSystem = 'okokNotify'  -- Choose 'esx', 'QBCore', 'okokNotify', or 'wasabiNotify'

-- Configurable item and amount for the robbery reward
Config.RobberyItem = 'black_money'  -- The item given to the player (e.g., black_money, cash, etc.)
Config.RobberyItemCount = 1600  -- Amount of the item given (e.g., 1600 units of black_money)

-- Item Required
Config.RequireItemEnabled = true  -- Enable or disable requirement system to steal
Config.RequireItem = 'WEAPON_CROWBAR'  -- The required item (ex: C4)
Config.RequireItemCount = 1  -- Required item quantity (ex: C4 2x)

-- Notifications
Config.NotificationStartRobbery = "Press F to start the robbery!"
Config.NotificationStartedRobbery = "You have %d seconds to steal everything, press M to cancel."
Config.NotificationTimeLeft = "There are still %d seconds left to finish."
Config.NotificationRobberyCancelled = "Robbery cancelled, ATM is on cooldown now."
Config.NotificationInCooldown = "This ATM is in cooldown. Please wait %d minutes and %d seconds."
Config.NotificationRobberySuccess = "Robbery completed successfully! You gained dirty money."
Config.NotificationMissingItem = "You do not have enough %s to start the robbery." 
Config.NotificationItemUsed = "You used %d %s for the robbery."
Config.NotificationRobberyAlert = "An ATM is being robbed, head to the location on the GPS." 

-- ATM Locations.
Config.atms = {
    vec3(1138.26,-469.03,66.73),
    vec3(89.57,2.16,68.32),
    vec3(-526.53,-1222.80,18.45),
    vec3(-2072.61,-317.18,13.31),
    vec3(-821.61,-1082.05,11.13),
    vec3(1968.07,3743.59,32.34),
    vec3(-386.82,6045.96,31.50),
    vec3(1172.47,2702.48,38.17),
    vec3(2558.94,350.94,108.62),
    vec3(1153.74,-326.77,69.20),
    vec3(-56.98,-1752.12,29.42),
    vec3(-3241.09,997.48,12.55),
    vec3(-1827.16,784.97,138.30),
    vec3(-1091.33,2708.48,18.95),
    vec3(112.63,-819.19,31.33),
    vec3(-256.15,-716.03,33.51),
    vec3(-258.62,-723.49,33.43),
    vec3(174.32,6637.82,31.57),
    vec3(-660.69,-853.86,24.48),
    vec3(-866.53,-187.66,37.83),
    vec3(-867.49,-186.01,37.83),
    vec3(418.82,-986.33,29.39),
    vec3(296.18,-591.49,43.27),
    vec3(296.23,-894.11,29.22),
    vec3(295.67,-896.07,29.21),
    vec3(-717.56,-915.68,19.21),
    vec3(33.16,-1348.11,29.49),
    vec3(130.05,-1292.67,29.26),
    vec3(129.21,-1291.11,29.26),
    vec3(288.95,-1256.81,29.44),
    vec3(-31.49,-1121.46,26.55),
    vec3(-203.75,-861.52,30.26),
    vec3(-1109.71,-1690.73,4.37),
    vec3(-1430.10,-211.08,46.50),
    vec3(540.28,2671.14,42.15),
    vec3(2683.08,3286.57,55.24),
    vec3(2564.62,2584.77,38.08),
    vec3(1077.71,-776.35,58.23),
    vec3(1735.34,6410.66,35.04),
    vec3(-3240.82,1008.61,12.84),
    vec3(-2975.28,380.17,15.00),
    vec3(-2956.87,487.64,15.47),
    vec3(-2958.95,487.78,15.47),
    vec3(-254.34,-692.32,33.61),
    vec3(-301.72,-830.24,32.42),
    vec3(-303.28,-829.90,32.42),
    vec3(1968.07,3743.59,32.34),
    vec3(-1204.87,-326.25,37.84),
    vec3(-1205.62,-324.71,37.86),
    vec3(-97.2,6455.44,31.47),
    vec3(-95.43,6457.01,31.46),
    vec3(155.41,6642.33,31.62),
    vec3(24.46,-946.0,29.36),
    vec3(111.35,-775.37,31.44),
    vec3(114.38,-776.52,31.42),
    vec3(122.16,-1293.63,29.26),
    vec3(285.51,143.39,104.18),
    vec3(158.55,234.26,106.63),
    vec3(119.16,-883.68,31.13),
    vec3(-1315.73,-834.75,16.97),
    vec3(-1314.77,-836.06,16.97),
}
Previous[ESX/QBCORE] ATM Robbery

Last updated 5 months ago

๐Ÿ“
๐Ÿง