Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = Config or {}
- Config.debug = false
- Config.Seconds = function(seconds) return seconds * 1000 end
- Config.Minutes = function(minutes) return minutes * 60 * 1000 end
- Config.Hours = function(hours) return hours * 3600 * 1000 end
- Config.Days = function(days) return days * 86400 * 1000 end
- Config.disableOfficeHeist = false -- Set to true if you want to disable the office heist.
- Config.disableIdMission = false -- Set to true if you want to disable the fakeid mission.
- Config.fakeIDItem = 'stolenworkerid' -- Item that will be used to enter the bank.
- Config.drivingPlanItem = 'drivingplan' -- Item that will be used as driving plan.
- Config.hackingDeviceItem = 'hackingdevice' -- Item that will be used to hack the computer.
- Config.landmineItem = 'landmine' -- Item that will be used to plant landmines.
- Config.C4Item = 'transporter_c4'
- -- Config.C4Item = 'c4_bomb' -- Item that will be used to plant explosives on the bank truck.
- Config.useTeams = true -- Default teams system - https://shop.stausi.com/package/6528185 (changeable in sv_teams.lua / requires lua knowledge)
- Config.useOxInv = true -- The resource is optimized best for "OX_Inventory" - https://github.com/overextended/ox_inventory
- -- THIS FEATURE IS ONLY SUPPORTED IF YOU USE OX_INVENTORY
- Config.drivingPlanExpireTime = Config.Days(3) / 1000
- -- THIS FEATURE IS ONLY SUPPORTED IF YOU USE OX_INVENTORY
- Config.alertCopsChance = 100 -- Chance in % that the police will be alerted when the player plants explosives
- Config.PoliceJobs = {
- 'police',
- }
- Config.blacklistedJobs = {
- 'police',
- 'ambulance'
- }
- Config.minCops = {
- office = 0,
- truck = 0
- }
- Config.cashPool = { -- Cash pool for the bank truck
- type = 'cash', -- cash or bank (set to false, if you dont wish to give clean money)
- min = 5000,
- max = 20000
- }
- Config.drivingPlanAmount = 2 -- Amount of driving plans spawning in the office.
- Config.maxLoot = 1 -- Max loot the player can get from the bank truck.
- Config.lootPool = { -- Banktruck item lootpool
- { name = "stolenworkerid", min = 1, max = 1 },
- { name = "markedbills", min = 1, max = 5 },
- { name = "trojan_usb", min = 1, max = 1 },
- }
- Config.officePCLoot = {
- type = 'cash', -- item, bank or cash
- moneyAmount = math.random(5000, 10000),
- items = {
- { name = 'markedbills', min = 1, max = 5 },
- { name = 'trojan_usb', min = 1, max = 1 },
- }
- }
- Config.dropMineBind = 47 -- G key
- Config.interactBind = 38 -- E key
- Config.removeItemsOnUse = { -- If you want to always remove the item when used, add the item name here.
- fakeIDItem = false,
- hackingDeviceItem = false,
- }
- Config.officeCooldown = Config.Hours(4)
- Config.truckCooldown = Config.Hours(3)
- Config.officeWindowActive = Config.Minutes(15)
- Config.idMissionCooldown = Config.Hours(2)
- Config.banktruckSettings = { -- Settings for the bank truck - Don't mess with this if you don't know what you're doing.
- vehicleModel = 'stockade',
- driverModel = 's_m_m_security_01',
- guardModel = 's_m_m_security_01',
- guardVehicle = 'granger2',
- guardWeapon = 'weapon_pistol',
- guardAccuracy = 15,
- guardHealth = 200,
- guardArmor = 100,
- guardVehicleAmount = 2,
- guardAmountPrVehicle = 4,
- backdoor1 = 2,
- backdoor2 = 3,
- }
- Config.C4ExplosionWait = Config.Seconds(15)
- Config.lootBanktruckTime = Config.Seconds(15)
- Config.lootIdNpcTime = Config.Seconds(15)
- Config.interiorSettings = {
- enter = { -- Exterior entrance to the maze bank office.
- name = 'maze_office_entrance',
- coords = vector4(-67.51, -804.15, 45.23, 340),
- minZ = 43.03,
- maxZ = 47.03,
- width = 2.9,
- length = 2.9,
- label = 'Break into office',
- icon = 'fa-solid fa-door-open',
- tpCoords = vector4(-66.8192, -802.257, 44.227, 333.0)
- },
- exit = { -- Interior exit to the maze bank office.
- name = 'maze_office_exit',
- coords = vector4(-75.04, -827.34, 243.39, 340),
- minZ = 242.19,
- maxZ = 244.79,
- width = 1.6,
- length = 0.8,
- label = 'Exit office',
- icon = 'fa-solid fa-door-open',
- tpCoords = vector4(-75.8227, -827.025, 243.38, 71.43)
- },
- officeComputer = { -- Hackable computer inside the office that will give the player one set of driving plans.
- name = 'maze_office_computer',
- coords = vector4(-79.73, -801.98, 243.4, 340),
- minZ = 242.75,
- maxZ = 244.15,
- width = 1,
- length = 1,
- label = 'Hack Computer',
- icon = 'fa-solid fa-laptop-code'
- },
- drivingPlanProp = 'hei_prop_heist_docs_01', -- Use https://forge.plebmasters.de/objects to find the prop you want
- drivingPlanIcon = 'fa-solid fa-file-alt', -- For label scroll down at lang
- officeLootables = { -- locations where the player can find loose drivingPlans inside the office - limited to 1 location by default besides the office computer.
- vector4(-63.70, -805.800, 243.335, 284.7),
- vector4(-66.4051, -816.752, 243.18, 90),
- vector4(-76.3531, -817.642, 243.38, 121.2),
- vector4(-65.0612, -821.078, 242.78, 297.7),
- vector4(-60.9411, -810.904, 243.18, 29.80),
- vector4(-60.8339, -807.170, 243.18, 210.1),
- vector4(-58.3505, -810.462, 243.40, 243.2),
- vector4(-65.5587, -813.975, 243.18, 94.20),
- vector4(-72.2318, -815.066, 243.18, 153.0),
- vector4(-81.9086, -805.948, 243.16, 328.6),
- vector4(-78.4741, -806.779, 243.33, 133.5),
- vector4(-81.5747, -804.524, 243.39, 138.6)
- },
- }
- Config.heistNpcModel = 'S_M_Y_DWService_02'
- Config.heistNpcLocations = {
- vector4(-2997.1934, 54.4666, 12.2635, 144.3136),
- vector4(-1202.4185, -1791.3801, 3.9085, 177.9739),
- vector4(986.7112, -2574.4590, 10.4032, 13.1937),
- vector4(1708.6624, -1609.6541, 113.8148, 189.8272),
- vector4(1915.6628, 582.5651, 176.3673, 243.6462)
- }
- Config.guardSettings = {
- officePedModel = 'U_M_M_JewelSec_01',
- accuracy = 100,
- health = 350,
- armor = 100
- }
- Config.guardLocations = {
- { coords = vector4(-72.5690, -824.3696, 243.3857, 70.2985), weapon = 'weapon_combatshotgun' },
- { coords = vector4(-68.0743, -818.9703, 243.3857, 67.6284), weapon = 'weapon_combatshotgun' },
- { coords = vector4(-76.1800, -815.7675, 243.3860, 241.5814), weapon = 'weapon_heavypistol' },
- { coords = vector4(-70.9248, -804.7812, 243.4007, 138.7474), weapon = 'weapon_sawnoffshotgun' },
- { coords = vector4(-60.9475, -805.6681, 243.3860, 154.2685), weapon = 'weapon_combatshotgun' },
- { coords = vector4(-59.7298, -812.1064, 243.3860, 98.8988), weapon = 'weapon_combatshotgun' },
- { coords = vector4(-81.8213, -803.4929, 243.4006, 249.9037), weapon = 'weapon_heavypistol' },
- { coords = vector4(-80.2510, -799.2023, 243.3861, 244.4648), weapon = 'weapon_heavypistol' },
- { coords = vector4(-84.2218, -814.2914, 243.3860, 341.3533), weapon = 'weapon_sawnoffshotgun' },
- { coords = vector4(-82.7293, -807.3545, 243.3860, 230.6461), weapon = 'weapon_combatshotgun' },
- { coords = vector4(-80.6908, -813.9388, 243.3857, 296.7054), weapon = 'weapon_combatshotgun' },
- }
- Config.landmineProp = 'mani_landmine' -- Prop that spawns when the player plants a landmine - use https://forge.plebmasters.de/objects to find the prop you want.
- Config.plantLandmineTime = 5000 -- Time in milliseconds to plant a landmine.
- Config.drivingStyle = 927 -- use https://vespura.com/fivem/drivingstyle/ to configure the driving style you want - don't mess with this if you don't know what you're doing.
- Config.truckRoutes = { -- Set of premade bank truck routes
- [1] = {
- label = 'Del Perro Fwy',
- startCoords = vector4(1082.2937, -1607.4835, 29.1355, 5.6622),
- endCoords = vector3(-2957.7109, 465.4726, 14.9081),
- },
- [2] = {
- label = 'Route 68',
- startCoords = vector4(-2611.1633, 2283.8396, 26.9222, 270.7828),
- endCoords = vector3(2359.4204, 1052.6572, 81.7107),
- },
- [3] = {
- label = 'Great Ocean Highway',
- startCoords = vector4(-1646.3265, -708.7656, 10.9111, 60.1328),
- endCoords = vector3(-624.5965, 5585.2891, 38.7772),
- },
- [4] = {
- label = 'Elysian Fields Fwy',
- startCoords = vector4(990.7759, -2582.7517, 43.6272, 99.7993),
- endCoords = vector3(-400.8292, -647.4691, 36.7336),
- },
- [5] = {
- label = 'Olympic Fwy',
- startCoords = vector4(-1180.4069, -692.3126, 10.8002, 299.7236),
- endCoords = vector3(1246.6539, -2517.4895, 41.9847),
- },
- [6] = {
- label = 'Palomino Fwy',
- startCoords = vector4(2332.2039, 1084.1464, 80.0098, 219.5636),
- endCoords = vector3(-255.6677, -1189.0195, 36.9217),
- },
- }
- Config.idMissions = {
- npcModel = 'IG_Bankman',
- missions = {
- { coords = vector4(-406.0212, 1071.4456, 325.6823, 208.2549), animDict = 'amb@world_human_drinking@coffee@male@idle_a', animClip = 'idle_c', flag = 49, propModel = 'p_amb_coffeecup_01', propBone = 28422, propPos = vector3(0.0, 0.0, 0.0), propRot = vector3(0.0, 0.0, 0.0)},
- { coords = vector4(-245.5201, -2029.9518, 28.9460, 218.3137), animDict = 'amb@world_human_drinking@coffee@male@idle_a', animClip = 'idle_c', flag = 49, propModel = 'p_amb_coffeecup_01', propBone = 28422, propPos = vector3(0.0, 0.0, 0.0), propRot = vector3(0.0, 0.0, 0.0)},
- { coords = vector4(-1275.7106, 316.5440, 64.5119, 191.2196), scenario = 'WORLD_HUMAN_SMOKING'},
- { coords = vector4(-666.3533, -1103.2686, 13.6836, 89.9410), scenario = 'WORLD_HUMAN_SMOKING'},
- { coords = vector4(927.2482, 50.6953, 80.1063, 99.1238), scenario = 'WORLD_HUMAN_SMOKING'},
- { coords = vector4(-713.4326, -146.9453, 36.4152, 301.6626), scenario = 'WORLD_HUMAN_WINDOW_SHOP_BROWSE'},
- { coords = vector4(-1445.7006, -232.2148, 48.8105, 229.1116), scenario = 'WORLD_HUMAN_WINDOW_SHOP_BROWSE'},
- { coords = vector4(-1305.2833, -706.3622, 24.3224, 128.3718), scenario = 'PROP_HUMAN_ATM'},
- { coords = vector4(147.6678, -1035.7125, 28.3431, 159.2663), scenario = 'PROP_HUMAN_ATM'},
- }
- }
- Config.blipSettings = {
- color = 1,
- sprite = 67,
- label = 'Bank Truck',
- scale = 0.8,
- }
- Config.blipSettingsOffice = {
- color = 2,
- sprite = 475,
- label = 'Maze Office',
- scale = 0.8,
- }
- Config.blipSettingsIdMission = {
- color = 2,
- sprite = 480,
- label = 'Maze Employee',
- scale = 0.8,
- }
- Config.blipCircle = { -- Blip/Zone settings - https://docs.fivem.net/docs/game-references/blips/
- color = 46,
- radius = 150.0,
- alpha = 200,
- }
- Config.plantTime = 3000 -- Time in milliseconds to plant explosives on the bank truck.
- Config.lootDrivingPlanTime = 2500 -- Time in milliseconds to loot driving plans from the office.
- Config.minigameSettings = {
- pincracker = {
- pinLength = 3,
- timer = 40,
- },
- hackingMinigame = {
- rows = 1,
- columns = 1,
- viewTime = 10,
- typeTime = 30,
- answersNeeded = 1,
- },
- c4Minigame = {
- letters = 12,
- timer = 15,
- },
- }
- Config.landMineOffset = -0.9 -- Offset for the landmine prop - use this to adjust the height of the prop.
- Config.lang = {
- progressBar = {
- plantExplosive = 'Planting Explosive',
- lootDrivingPlan = 'Validating driving plan',
- plantLandMine = 'Planting Landmine',
- lootBanktruck = 'Looting Banktruck',
- lootIdNpc = 'Searching for ID',
- },
- Notify = {
- failedHacking = 'You broke your hacking device',
- caught = 'You have been caught and lost your stolen id...',
- doesntHaveItem = 'You do not have the required item',
- cooldown = 'Someone has recently done this, come back later',
- truckCooldown = 'No trucks on route till later',
- wrongVehicle = 'This vehicle does not have a landmine attached',
- alreadyPlanted = 'You have already planted explosive',
- cancelledC4 = 'You have cancelled planting explosives',
- officeWindowActive = 'I have given you an 15 minute window to enter the office',
- officeWindowInactive = 'The security is too tight, maybe im missing something...',
- blacklistedOffice = 'Maze Bank, what should I do here?',
- notEnoughCops = 'There are not enough cops on duty',
- noLandmineItem = 'Your missing an landmine',
- noC4Item = 'Your missing an c4 explosive',
- alreadyLooted = 'This is already looted',
- expiredDrivingPlan = 'The driving plan has expired',
- idNpcDespawn = 'The Maze Bank employee has left the area',
- npcIsntDead = "I won't be able to do this with him alive",
- idMissionStart = 'Go to the marked lokation and steal the ID',
- moneyGranted = 'You have been granted $',
- },
- target = {
- drivingPlan = 'Pick up driving plan',
- plantLandMine = 'Plant landmine',
- heistNpc = 'Maze Bank Information',
- idNpc = 'Steal ID',
- detachLandmine = 'Detach landmine',
- plantC4 = 'Plant C4',
- lootBanktruck = 'Loot Banktruck',
- },
- textUI = {
- attachMineToVehicle = 'Use target to attach landmine to vehicle',
- dropMine = '[G] Drop the mine in front of the truck',
- },
- contextMenu = {
- mainTitle = 'Request Maze Office Information',
- availableTitle = 'Request Maze Bank Office Information', -- Title if the office heist is available
- unavailableTitle = 'Information Currently Unavailable', -- Title if the office heist is unavailable
- idAvailableTitle = 'Request Maze Bank Employee Information', -- Title if the id mission is available
- requirementDescription = 'You need a fake worker ID to enter the office',
- idMissionDescription = 'Steal a worker ID from an Maze Bank employee',
- groupTitle = 'Personal Group',
- groupDescription = 'Manage your personal heist group',
- },
- dispatch = {
- displayCode = "10-90",
- title = ' Banktruck Heist',
- description = "Weapons depot heist in progress", -- Description of the heist
- message = "Suspects seen causing a banktruck to explode.", -- Additional message
- -- Blip information is used for ALL dispatches besides ps_dispatch, please reference dispatchcodename below.
- sprite = 67, -- The blip sprite for weapons depot or related icon
- scale = 1.0, -- The size of the blip
- colour = 2, -- Color of the blip
- blipText = "Banktruck Heist", -- Text on the Blip
- -- ps-dispatch
- dispatchcodename = "banktruck_heist" -- ONLY USED BY PS-DISPATCH
- },
- itemLang = {
- drivingPlanDesc = 'Expires at: ',
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment