Dev Mode

You can enable/disable dev mode. It will generate some print info within console. Never should have this enabled in a live server

EnableDev = false, -- Enable/Disable DevMode

Locale

You can change the language of the notifications and other plain text elements of this resource.

Note: English is provided and it can be translated to anything that you wish.

Locale = 'en', -- Locale to use

Cooldowns

Adjust the time between each bank robbery attempt at the same location and separate locations.

Cooldowns = {
  reset = 60*60*1,                    -- (Resets vault doors annd locks bank doors) 1 hours 
  bank = 60*60*2,                     --  (Time between each bank robbery attempt at the same location) 2 hours
  global = 60*30,                     --  30 minutes
},

Reset Command

Enable/disable reset command. You can also adjust who have permission to use the command. Using the command will reset cooldowns and close vault doors.

Explosive Item

This is the item name that will be checked and removed when planting the explosive device in order to blow the vault door open. You can change this to whatever you'd like as long as it exists within your framework

Start Settings

Require a bandana to start the robbery, and modify a list of weapons that can be used to trigger the robbery

Stay Inside

While the resource will check the distance that the starting player has moved from the starting location and automatically ending the mission if too far, however you can also require the player to stay inside the bank at all times.

Ped Weapons

You can control the list of weapons peds that spawn can have during the mission.

Rewards

Setup groups of rewards for each bank or share groups with multiple banks, whatever you decide.

Banks

Configure each bank separately

  • start - Starting location (where the robbery needs to be started).

  • startRange - Max distance from starting location that the robbery can be started.

  • hours - open/close to control when the bank can be robbed (set to false for 24/7).

  • requiredJobs - control what on duty jobs (if any) are required to start the robbery.

    • enabled - enable/disable the requirement.

    • onDuty - amount of players needed to be on duty.

    • jobs - table containing all the job names required.

  • peds - control the peds that will spawned (if enabled) during the robbery.

    • enabled - enable/disable peds.

    • max - max total peds that will spawn each wave.

    • perWave - max peds spawned at any given time during each wave.

    • waves - total waves each "round" (There's two rounds, at the start and when the explosive is planted).

    • timeBetweenWaves - {min = ?, max = ?} mix/max time between each wave.

    • pedModel - the ped model that will be spawned.

    • spawns - a table containing all the possible spawn locations for the peds.

  • vault - this is the main vault door that needs to be blown open.

    • hash - vault door hash (this resource will handle the locking and unlocking of the main vault)

    • detonationnTimer - amount in milliseconds until detonation .

    • plantLocation - vec4 coords to place the player and display prompt.

    • placement - control the coords and rotation the explosive object will be placed.

  • loot - these are all of the locations that can be looted inside of the main vault.

    • crackAnimation - Internal functions (CrackSmallVault, CrackMedVault).

    • openAnim - Internal functions (OpenSmallVault, OpenMedVault).

    • lootAnim - Internal functions (LootSmallVault, LootMedVault).

  • doors - IGNORE THIS IF YOU DO NOT USE GS_DOORLOCKS or configure for your door script.

Keybinds

Conntrol what keys are required for interactions


Full Configuration

This is already included in the resource. Use this as a backup or an example

Last updated