Config File
Config = {}
-- Set the locale for ESX, default is Spanish
Config.Locale = GetConvar('esx:locale', 'es')
-- Marker configuration for robbery locations
Config.Marker = {
r = 250, g = 0, b = 0, a = 100, -- Red color
x = 1.0, y = 1.0, z = 0.3, -- Small, cylinder-shaped circle
DrawDistance = 15.0, Type = 1 -- Default circle type, low draw distance for indoor areas
}
-- Set the notification system: "origen_police", "cd_dispatch", or "false"
Config.NotificationSystem = "origen_police"
-- Discord webhook URL for notifications
Config.Webhook = "Webhook"
-- Minimum number of police officers required for a robbery
Config.PoliceNumberRequired = 1
-- Cooldown timer (in seconds) before a store can be robbed again
Config.TimerBeforeNewRob = 600
-- Maximum distance from the robbery point before it's cancelled
Config.MaxDistance = 20
-- Store configurations for robberies
Stores = {
['paleto_twentyfourseven'] = {
position = vector3(1736.32, 6419.47, 34.03),
nameOfStore = '24/7. (Paleto Bay)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(500, 800)},
{type = 'item', name = 'bread', amount = 5},
{type = 'item', name = 'water', amount = 5},
}
},
['sandyshores_twentyfoursever'] = {
position = vector3(1961.24, 3749.46, 31.34),
nameOfStore = '24/7. (Sandy Shores)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(30000, 35000)},
{type = 'item', name = 'jewels', amount = 2},
{type = 'weapon', name = 'WEAPON_PISTOL', amount = 1},
}
},
['ocean_liquor'] = {
position = vector3(-2959.33, 388.21, 13.00),
nameOfStore = 'Robs Liquor. (Great Ocean Highway)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(30000, 35000)},
{type = 'item', name = 'beer', amount = 10},
{type = 'item', name = 'vodka', amount = 5},
}
},
['rancho_liquor'] = {
position = vector3(1126.80, -980.40, 44.41),
nameOfStore = 'Robs Liquor. (El Rancho Blvd)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(30000, 35000)},
{type = 'item', name = 'whisky', amount = 5},
{type = 'item', name = 'tequila', amount = 5},
}
},
['sanandreas_liquor'] = {
position = vector3(-1219.85, -916.27, 10.32),
nameOfStore = 'Robs Liquor. (San Andreas Avenue)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(30000, 35000)},
{type = 'item', name = 'wine', amount = 10},
{type = 'item', name = 'cigarettes', amount = 20},
}
},
['grove_ltd'] = {
position = vector3(-43.40, -1749.20, 28.42),
nameOfStore = 'LTD Gasoline. (Grove Street)',
secondsRemaining = 20, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(30000, 35000)},
{type = 'item', name = 'weapon_microsmg', amount = 3},
{type = 'item', name = 'radio', amount = 2},
}
},
['mirror_ltd'] = {
position = vector3(1160.67, -314.40, 68.20),
nameOfStore = 'LTD Gasoline. (Mirror Park Boulevard)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(30000, 35000)},
{type = 'item', name = 'bandage', amount = 5},
{type = 'item', name = 'medikit', amount = 2},
}
},
['innocencebvb_twentyfoursever'] = {
position = vector3(1961.24, 3749.46, 31.34),
nameOfStore = '24/7. (Innocence Boulevard)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(30000, 35000)},
{type = 'item', name = 'chips', amount = 10},
{type = 'item', name = 'chocolate', amount = 10},
}
},
['south_twentyfoursever'] = {
position = vector3(28.4279, -1339.3629, 29.4970),
nameOfStore = '24/7. (South 24/7)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(30000, 35000)},
{type = 'item', name = 'cola', amount = 10},
{type = 'item', name = 'icetea', amount = 10},
}
},
['Lindsayccs_twentyfoursever'] = {
position = vector3(-709.5643, -904.2151, 18.2156),
nameOfStore = '24/7. (Lindsay Circus)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(30000, 35000)},
{type = 'item', name = 'sandwich', amount = 5},
{type = 'item', name = 'hamburger', amount = 5},
}
},
['elginavenue_ammu'] = {
position = vector3(22.9649, -1105.3656, 29.7970),
nameOfStore = 'Ammunation. (Elgin Avenue)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(70000, 90000)},
{type = 'weapon', name = 'WEAPON_PISTOL', amount = 1},
{type = 'item', name = 'ammo-9', amount = 50},
}
},
['vespuccibvb_ammu'] = {
position = vector3(846.2335, -1035.5867, 28.3304),
nameOfStore = 'Ammunation. (Vespucci Boulevard)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'black_money', amount = math.random(70000, 90000)},
{type = 'weapon', name = 'WEAPON_SMG', amount = 1},
{type = 'item', name = 'ammo-smg', amount = 100},
}
},
['propertystr_liq'] = {
position = vector3(-1479.0536, -374.9699, 39.1633),
nameOfStore = 'Licoreria. (Property Street)',
secondsRemaining = 350, -- seconds
lastRobbed = 600,
items = {
{type = 'money', account = 'money', amount = math.random(30000, 35000)},
{type = 'item', name = 'champagne', amount = 5},
{type = 'item', name = 'rum', amount = 5},
}
},
}
Last updated