Config.RobberyTimeRestriction = true-- If true, robbery can only be done between start and end time
Config.RobberyEndTime = 6-- 6 AM
Config.RobberyStartTime = 22-- 10 PM
Config.PoliceAlert = 20-- Percentage chance to alert police when robbery is started
Config.PoliceOnDutyRequired = 3-- Minimum number of police on duty required to start a robbery
Config.PoliceJobName = "police"-- Job name for police, used for alerts and checks
Config.MoneySettings = { -- Settings for money rewards
chance = 20, -- Percentage chance to get money from a robberymin = 100, -- Minimum amount of money to getmax = 500, -- Maximum amount of money to get
item = { -- Item settings for money
cashItem = false, -- If true, money will be given as an item
name = "money", -- Item name for money
label = "Cash", -- Item label for money
}
}
Config.RobberyTabletItem = { -- Settings for the robbery tablet item
name = 'houserobbery_tablet', -- Item name for the tablet
requiredJobs = { -- Jobs required to use the tabletstatus = false, -- If true, only players with the required jobs can use the tablet
jobs = { -- List of jobs that can use the tablet
['police'] = true, -- Job name
['ambulance'] = true, -- Job name
['taxi'] = true, -- Job name
['mechanic'] = true, -- Job name
['sheriff'] = true, -- Job name
},
},
requiredItem = { -- Settings for the required item to use the tabletstatus = false, -- If true, player must have the required item to use the tablet
item = { -- List of required items
['bandage'] = true, -- Item named
},
},
}
Config.LootSettings = { -- Settings for loot in the robbery
difficulty = { -- Difficulty levels for loot'easy', 'easy', 'easy'-- Easy difficulty for all loot
},
keys = { -- Keys for loot interaction'w', 'a', 's', 'd'-- Keys used for loot interaction
},
}
Config.BlipSettings = { -- Settings for blips on the map
['illegal_vehicle_dealer'] = { -- Blip for illegal vehicle dealer
id = 326, -- Blip ID
name = 'Illegal Vehicle Dealer', -- Blip name
color = 5, -- Blip color
scale = 0.7, -- Blip scale
},
['robbery_house'] = { -- Blip for robbery house
id = 40, -- Blip ID
name = 'Robbery House', -- Blip name
color = 5, -- Blip color
scale = 0.7, -- Blip scale
},
['deliver_items'] = { -- Blip for delivering items
id = 110, -- Blip ID
name = 'Deliver Items', -- Blip name
color = 5, -- Blip color
scale = 0.7, -- Blip scale
},
}
Config.HeistCar = { -- Settings for the heist car
hash = `bison`, -- Vehicle hash for the heist car
name = 'Bison', -- Vehicle name for the heist car
price = 1000, -- Price for the heist car
}
Config.MarketPed = { -- Settings for the market ped
model = `s_m_m_ccrew_01`, -- Ped model for the market
name = 'Market', -- Ped name for the market
coords = vector4(1491.92, -2093.03, 76.74, 275.0),
blip = { -- Blip settings for the market
id = 52, -- Blip ID
name = 'Market', -- Blip name
color = 5, -- Blip color
scale = 0.7, -- Blip scale
},
}
Config.MarketPlace = { -- Settings for the market place
['plastic'] = {
item = 'plastic', -- Item name for plastic
price = 50, -- Price for plastic in the market
label = 'Plastic', -- Item label for plastic
description = 'A versatile material used in various applications.', -- Item description for plasticmin = 1, -- Minimum amount of plastic to sellmax = 50, -- Maximum amount of plastic to sell
},
['diamond_ring'] = {
item = 'diamond_ring', -- Item name for diamond ring
price = 500, -- Price for diamond ring in the market
label = 'Diamond Ring', -- Item label for diamond ring
description = 'A beautiful diamond ring.', -- Item description for diamond ringmin = 1, -- Minimum amount of diamond ring to sellmax = 50, -- Maximum amount of diamond ring to sell
},
['goldchain'] = {
item = 'goldchain', -- Item name for gold chain
price = 300, -- Price for gold chain in the market
label = 'Gold Chain', -- Item label for gold chain
description = 'A shiny gold chain.', -- Item description for gold chainmin = 1, -- Minimum amount of gold chain to sellmax = 50, -- Maximum amount of gold chain to sell
},
['weed_skunk'] = {
item = 'weed_skunk', -- Item name for weed skunk
price = 100, -- Price for weed skunk in the market
label = 'Weed Skunk', -- Item label for weed skunk
description = 'High quality skunk weed.', -- Item description for weed skunkmin = 1, -- Minimum amount of weed skunk to sellmax = 50, -- Maximum amount of weed skunk to sell
},
['cryptostick'] = {
item = 'cryptostick', -- Item name for cryptostick
price = 200, -- Price for cryptostick in the market
label = 'Cryptostick', -- Item label for cryptostick
description = 'A device used for cryptocurrency transactions.', -- Item description for cryptostickmin = 1, -- Minimum amount of cryptostick to sellmax = 50, -- Maximum amount of cryptostick to sell
},
['phone'] = {
item = 'phone', -- Item name for phone
price = 150, -- Price for phone in the market
label = 'Phone', -- Item label for phone
description = 'A smartphone with various features.', -- Item description for phonemin = 1, -- Minimum amount of phone to sellmax = 50, -- Maximum amount of phone to sell
},
['tablet'] = {
item = 'tablet', -- Item name for tablet
price = 250, -- Price for tablet in the market
label = 'Tablet', -- Item label for tablet
description = 'A portable tablet with a large screen.', -- Item description for tabletmin = 1, -- Minimum amount of tablet to sellmax = 50, -- Maximum amount of tablet to sell
},
['rolex'] = {
item = 'rolex', -- Item name for rolex
price = 1000, -- Price for rolex in the market
label = 'Rolex', -- Item label for rolex
description = 'A luxury Rolex watch.', -- Item description for rolexmin = 1, -- Minimum amount of rolex to sellmax = 50, -- Maximum amount of rolex to sell
},
['pistol_ammo'] = {
item = 'pistol_ammo', -- Item name for pistol ammo
price = 50, -- Price for pistol ammo in the market
label = 'Pistol Ammo', -- Item label for pistol ammo
description = 'A box of pistol ammunition.', -- Item description for pistol ammomin = 1, -- Minimum amount of pistol ammo to sellmax = 50, -- Maximum amount of pistol ammo to sell
},
['meth'] = {
item = 'meth', -- Item name for meth
price = 300, -- Price for meth in the market
label = 'Meth', -- Item label for meth
description = 'A bag of high-quality methamphetamine.', -- Item description for methmin = 1, -- Minimum amount of meth to sellmax = 50, -- Maximum amount of meth to sell
},
['tosti'] = {
item = 'tosti', -- Item name for tosti
price = 10, -- Price for tosti in the market
label = 'Tosti', -- Item label for tosti
description = 'A delicious toasted sandwich.', -- Item description for tostimin = 1, -- Minimum amount of tosti to sellmax = 50, -- Maximum amount of tosti to sell
},
['sandwich'] = {
item = 'sandwich', -- Item name for sandwich
price = 15, -- Price for sandwich in the market
label = 'Sandwich', -- Item label for sandwich
description = 'A tasty sandwich with various fillings.', -- Item description for sandwichmin = 1, -- Minimum amount of sandwich to sellmax = 50, -- Maximum amount of sandwich to sell
},
}
[1] = {
id = 1,
name = 'Example Name',
description = 'examaple description',
image = 'example-house-image', -- web/build/houses
coords = {
enter = vector3(0.0, 0.0, 0.0),
exit = vector4(0.0, 0.0, 0.0, 0.0),
lock = vector4(0.0, 0.0, 0.0, 0.0), -- lock object coords
},
tier = 1, -- 1, 2, 3
level = 1, -- xp to determine which levels have access to the heist
opened = false, -- dont touch this
objectRewards = {
money = 250, -- money for each item taken as prop after the robbery is over
xp = 250, -- xp for each item taken as prop after the robbery is over
},
reward = 250, -- XP to be given after the robbery is over
loot = {}
}