Robbery Creator Script for FiveM QBCore
- This script allows server owners to create there own Robbery in a very easy way .
- this script will come with 7 robberies ready to go
here:
phonestore
Paleto
pacific
fleeca
store247
jewellery
ammurobbery
if that is not enough you can add as many as you can with this example under
add new Robbery :
- its easy you can use the example under
example = {
settings = {
item = "none",---item_here if used if not do 'none'
DebugPoly = false,-- for target
Webhook = "Webhook_url_here",-- discord Webhook url
dispatch = true,---use dispatch or not
dispatch_export = function()
exports['ps-dispatch']:example_Robbery() --- dispatch export
end,
targetDistance = 1.5,
Cops = 0, -- haw many cops
searchTimer = 5000,
cooldown = 1,--- timer to reset the robbery
animDict = 'missheist_jewel', --- animation dict
anim = 'smash_case', --- animation name
name = "example", --- webhook name
target_icon = "fas fa-sack-dollar", --- target icon
target_label = "example", -- target label
heading = 250, --- heading
length = 1.5, --length
width = 1, --width
use_hack = true, --- use hack true or false
hack_type = "scrambler",--- 5 tipes of hackes 'circle', 'maze', 'varhack', 'thermite', 'scrambler'
hack_settings = {
circle = { NumberOfCircles = 2, TimeLimit = 20 },
maze = { TimeLimit = 20 },
varhack = { NumberOfBlocks = 2, Time = 3 },
thermite = { Time = 10, GridSize = 5, IncorrectBlocks = 3 },
scrambler = { Type = "numeric", Time = 30, Mirrored = 0 }
},
coords = { --- robbery coords here
},
use_cash = false, if true do 'cash_amount'under
cash_amount = 500, -- amount
use_markedmoney = false, if true do 'marked_amount' under
marked_amount = {min = 500, max = 1500}, --- you get 2 markedmoney at max
use_items = true, if true do 'items' under
items = {
{
min_Chance = 10, -- min chance allways under 50
max_Chance = 100, -- max chance allways abouve 50
min_Quantity = 5, -- min Quantity
max_Quantity = 7, -- max Quantity
item = "item_here",
},
},
doors = {
{
doorName = 'example', --- door name if using normal tipe you have to add it in qb-doorlock/config.lua
door_type = "normal",--- use 'normal' or 'vault' if vault do vault_settings under
vault_settings = {--- if used 'vault'
object = `v_ilev_gb_vauldr`, --- door prop name
heading = {
closed = 0, -- when closed
open = 0 -- when opened
}
door_hack = true, -- if true do hack tipe under
door_hack_type = "circle",--- 5 tipes of hackes 'circle', 'maze', 'varhack', 'thermite', 'scrambler'
door_hack_settings = { -- do the settings of ur liking
circle = { NumberOfCircles = 2, TimeLimit = 10 },
maze = { TimeLimit = 20 },
varhack = { NumberOfBlocks = 2, Time = 3 },
thermite = { Time = 10, GridSize = 5, IncorrectBlocks = 3 },
scrambler = { Type = "numeric", Time = 30, Mirrored = 0 }
},
door_cooldown = 5, --- timer untel closed
door_target = ,---target here use vec3
door_item = 'item_here', --- item name
door_hack_anim = "anim@heists@ornate_bank@hack", --- animation dict
door_hack_anim_name = "hack_loop", --- animation name
},
}
},
},
}
Features
- Requires a specific item to start the robbery or ‘none’ for no item
- Webhook support for Discord notifications for every Robbery
- Dispatch Notifies police during a robbery using
ps-dispatch
- Synchronizes cooldowns across all players
- Configurable animations and notifications
- 5 hack types by using
ps-ui
'circle', 'maze', 'varhack', 'thermite', 'scrambler'
with hack settings to mike it easy or hard - 3 options for Robbery rewards cash or markedmoney or items and its Configurable
- door hack support by using
ps-ui
'circle', 'maze', 'varhack', 'thermite', 'scrambler'
with hack settings to mike it easy or hard - door cooldown support
- doors support using ‘normal’ type you have to add it in qb-doorlock/config.lua and using ‘vault’ type you have to add this
vault_settings = {
object = `v_ilev_gb_vauldr`, --- door prop name
heading = {
closed = 0, -- when closed
open = 0 -- when opened
}
}
Requirements
- QBCore Framework
qb-target
resourceps-dispatch
resource (optional for dispatch notifications if Configured )ps-ui
resource (optional for hack if Configured )qb-doorlock
resource (optional for doors if Configured )qb-inventory
resource
config
- using Paleto as a example
Config = {}
Config.Core = 'QBCore'
Config.CoreGetCoreObject = 'qb-core'
Config.Target = 'qb-target'
Config.door_lock = 'qb-doorlock'
Config.print = false -- Set to false to disable debug prints
Config.robberies = {
Paleto = {
settings = {
item = "none",
DebugPoly = false,
Webhook = "Webhook_url_here",
dispatch = true,
dispatch_export = function()
exports['ps-dispatch']:PaletoBankRobbery()
end,
targetDistance = 1.5,
Cops = 0,
searchTimer = 5000,
cooldown = 60,
animDict = 'anim@scripted@heist@ig1_table_grab@cash@male@',
anim = 'grab',
name = "Paleto",
target_icon = "fas fa-sack-dollar",
target_label = "Rob",
heading = 250,
length = 1.5,
width = 1,
use_hack = false,
hack_type = "scrambler",
hack_settings = {
circle = { NumberOfCircles = 2, TimeLimit = 20 },
maze = { TimeLimit = 20 },
varhack = { NumberOfBlocks = 2, Time = 3 },
thermite = { Time = 10, GridSize = 5, IncorrectBlocks = 3 },
scrambler = { Type = "numeric", Time = 30, Mirrored = 0 }
},
coords = {
vector3(-107.0, 6473.51, 31.63),
vector3(-102.84, 6475.69, 31.63),
vector3(-103.36, 6478.39, 31.63),
vector3(-106.04, 6478.54, 31.63)
},
use_cash = false,
cash_amount = 500,
use_markedmoney = true,
marked_amount = {min = 15000, max = 20000},
use_items = false,
items = {
},
doors = {
{
doorName = 'Paleto-vault',
door_type = "vault",
vault_settings = {
object = 'v_ilev_cbankvauldoor01',
heading = {
closed = 45.45,--45.45
open = 130.45---130.45
}
},
door_hack = true,
door_hack_type = "varhack",
door_hack_settings = {
circle = { NumberOfCircles = 2, TimeLimit = 10 },
maze = { TimeLimit = 20 },
varhack = { NumberOfBlocks = 2, Time = 3 },
thermite = { Time = 10, GridSize = 5, IncorrectBlocks = 3 },
scrambler = { Type = "numeric", Time = 30, Mirrored = 0 }
},
door_cooldown = 30,
door_target = vector3(-105.48, 6471.94, 31.63),
door_item = 'thermite',
door_hack_anim = "anim@heists@ornate_bank@hack",
door_hack_anim_name = "hack_loop",
},
{
doorName = 'Paleto-door',
door_type = "normal",
door_hack = true,
door_hack_type = "circle",
door_hack_settings = {
circle = { NumberOfCircles = 2, TimeLimit = 10 },
maze = { TimeLimit = 20 },
varhack = { NumberOfBlocks = 2, Time = 3 },
thermite = { Time = 10, GridSize = 5, IncorrectBlocks = 3 },
scrambler = { Type = "numeric", Time = 30, Mirrored = 0 }
},
door_cooldown = 30,
door_target = vector3(-107.17, 6476.04, 31.63),
door_item = 'lockpick',
door_hack_anim = "anim@heists@ornate_bank@hack",
door_hack_anim_name = "hack_loop",
},
}
},
},
------- add more robberies here
}
Preview for the ready to use Robberies
tebex
Other Scripts
Standalone|AdvancedZombieSystem
Standalone|ZombieSystem
Standalone|VehicleSpawner
standalone|SurvivalHUD
QBCore|SafeZone
QBCore|Shop
QBCore|WeatherSync
QBCore|PhoneStoreRobbery
QBCore|CamperHousing
QBCore|LootBags
ESX|LootBags
ESX/QBCore|InGameMusic
ESX/QBCore|RadiationZones
ESX/QBCore|LootAreas
ESX/QBCore|CraftingVehicles
Support:
you can join my discord for any support ! Sinor System
Code is accessible | only config |
Subscription-based | No |
Lines (approximately) | N/A |
Requirements | qb-core |
Support | Yes |