⚙️ Installation

1

Install minigames

Repository: https://github.com/Gl1tchStudios/glitch-minigamesarrow-up-right

To configure the resource, adjust the following settings in your config files.

Framework

framework config
Config.Framework = 'QBCore'  -- Set your Framework to 'QBCore' for QBCore Framework or 'ESX' for (ESX Framework soon not aviable now)
Config.Core = 'qb-core'  -- Core framework name
Config.Corename = 'QBCore'  -- Core framework alias

Target System

target config
Config.target = 'qb-target'  -- Set the target system you use (e.g., qb-target, ox_target)
Config.UseTarget = true  -- Set to true if you want to use target system, false for drawtext mode

Other robbery settings

robbery config
Config.Language = 'en'  -- Default language (e.g., 'en', 'fr', etc.)

Config.CooldownTime = 1  -- Cooldown time applied to the player (in minutes)

Config.atmCooldowns = 1  -- Cooldown time applied to the robbed ATM (in minutes)

Config.atmTargets = {  -- ATM models (modify only if you know what you're doing)
    `prop_atm_02`,
    `prop_atm_03`,
    `prop_atm_01`,
    `prop_fleeca_atm`,
}
Config.cashPropModel = 'bkr_prop_bkr_cashpile_06'  -- Prop model for cash piles

Config.numCashProps = 1  -- Number of cash piles spawned after a successful robbery

Config.rewardamount = 4  -- Number of rewarded items

Config.money = 2000  -- Amount of cash rewarded

Config.rewardType = 'money'  -- Reward type: "items" or "money"

Config.reward = 'drill'  -- Item rewarded after a bomb-type robbery

Config.RequiredPolice = 0  -- Minimum number of police required online to rob an ATM

Config.removeitem = false  -- Set to true to remove the required item after using it

Config.policejobs = {"police", "sheriff"}  -- Jobs allowed to respond to ATM robberies

Config.Dispatch = 'ps'  -- Dispatch system (options: 'ps', 'cd', 'qs', or 'qb' for no dispatch script)

Config.restrectedjobs = {"police", "sheriff"}  -- Jobs restricted from robbing ATMs

Config.antiglitch = false  -- Enable or disable the anti-glitch system

function antiglitch(src)

    DropPlayer(src, "You have been kicked for attempting to glitch the robbery")

end
Config.BombItem = 'c4_bomb'  -- Required item for bomb-type robbery

Config.Drillitem = 'drill'  -- Required item for drilling ATM

Config.hackitem = 'usb_green'  -- Required item for hacking ATM

Last updated