๐Ÿ”ซqb-storerobbery

Put the money in the bag!

Introduction

  • Allows the player to rob the many stores around the city. When they rob the store, they lockpick the cash registers which uses qb-lockpick. Once both registers are hit, there is a chance to get a sticky note for the safe code. If the store does not have an electronic safe, it will use the safecrackerarrow-up-right minigame. Players will get "markedbills" for both the registers and safes

  • Cops get called and can use the camid provided to view the specified camera more info on that in qb-policejob

Configuration

General

Config.minEarn = 100 -- minimum markedbills worth
Config.maxEarn = 450 -- max markedbills worth
Config.RegisterEarnings = math.random(Config.minEarn, Config.maxEarn) -- Randomized earnings
Config.MinimumStoreRobberyPolice = 2 -- minimum police needed to start the robbery
Config.resetTime = (60 * 1000) * 30 -- cooldown between robberies in minutes
Config.tickInterval = 1000 -- the time between register checks

Registers

Config.Registers = {
    [1] = {
        vector3(-47.24,-1757.65, 29.53), -- register location
        robbed = false, -- dynamically changed, don't edit
        time = 0, -- dynamically changed, don't edit
        safeKey = 1, -- index that references the safes table
        camId = 4 -- alerts the cops with the camera number to view
    }
}

Safes

circle-check

Last updated