[FREE] ATM Robbery DLC
Config = {}
-- [string] → The locale you want to use. If the locale does not exist, the script will use the default locale.
Config.locale = GetConvar("lyre_illegalmissions:locale", "en")
-- [string] → The bridge you want to use. You can put a valid bridge or put "auto_detect" to let the script choose the best bridge for you.
Config.bridge = "auto_detect"
-- [boolean] → If you want the script to check for updates. If the script is not up to date, it will print a message in the console.
Config.checkForUpdates = true
-- [string] → The system you want to use to interact with the locations. You can put "marker" or "target"
Config.interactSystem = GetConvar("lyre_illegalmissions:target", "marker")
-- [number] → The chance of the mission to be available (0.0 to 1.0)
Config.chance = 0.5
-- [table] → The requirements for the mission
Config.requiredRepuation = 300
-- [table] → The requirements for the mission
Config.requiredCops = 0
-- [number] → The base money gain for the mission
Config.baseMoneyGain = 3000
-- [number] → The base money loss (deposit) for the mission
Config.baseMoneyLoss = 500
-- [number] → The minimum number of team members required for the mission
Config.minimumTeamMembers = 1
-- [number] → The base money loss for the mission
Config.baseReputationGain = 7
-- [number] → The base reputation gain for the mission
Config.baseReputationLoss = 7
-- [table] → The vehicles that can be used for the mission
Config.avalaibleVehicles = {
"sadler",
}
-- [table] → The avalaible spawn locations for the mission vehicles
Config.avalaibleSpawnLocations = {
vec4(724.90850830078, -1192.8410644531, 24.031127929688, 180.88833618164),
}
-- [table] → The props for the atm that will be used for the mission
Config.atmProps = {
{
model = "prop_atm_02",
multiplier = 1.0,
},
{
model = "prop_atm_03",
multiplier = 1.3,
},
{
model = "prop_fleeca_atm",
multiplier = 1.8,
},
}
-- [number] → The base health for the atm
Config.baseAtmHealth = 20
-- [table] → The locations where the atm will spawn, the multiplier is used to encrease the earnings of the players. Actually, more the multiplier is high, more the location is near the Mission Row Police Department.
Config.avalaibleLocations = {
{
name = "Elgin Avenue",
coords = vec4(136.01217651367, -856.32698974609, 30.38687286377, 248.75006103516),
multiplier = 2.0,
},
{
name = "Olympic Freeway",
coords = vec4(-218.15, -1170.9886474609, 22.721869659424, 91.884826660156),
multiplier = 1.7,
},
{
name = "Morningwood Boulevard",
coords = vec4(-1307.5586914062, -302.53216552734, 37.763102722168, 117.78977203369),
multiplier = 1.5,
},
{
name = "Clinton Avenue",
coords = vec4(308.00206298828, 314.95796386719, 105.28124694824, 348.50823974609),
multiplier = 1.5,
},
{
name = "Rockford Drive South",
coords = vec4(-718.88901367188, -1157.6990478516, 10.30856628418, 132.14079284668),
multiplier = 1.3,
},
{
name = "Meteor Street",
coords = vec4(453.34935180664, 2.4244285106659, 84.077014160156, 241.96688842773),
multiplier = 1.5,
},
{
name = "Little Bighorn Avenue",
coords = vec4(512.08321533203, -1485.9892578125, 28.988759231567, 266.30084228516),
multiplier = 1.5,
},
{
name = "Innoncence Boulevard",
coords = vec4(751.45489501953, -1721.6190917969, 29.115493011475, 177.59365844727),
multiplier = 1.0,
},
{
name = "Orchardville Avenue",
coords = vec4(929.29490966797, -2246.5541992188, 30.215371322632, 84.640228271484),
multiplier = 1.0,
},
{
name = "Playa Vista",
coords = vec4(-1809.2905273438, -408.14199829102, 44.273795318604, 236.93626403809),
multiplier = 1.0,
},
{
name = "Prosperity Street",
coords = vec4(-1471.8561279297, -403.47143554688, 36.944335174561, 137.98223876953),
multiplier = 1.0,
},
{
name = "Marathon Avenue",
coords = vec4(-1463.9548681641, -630.74139404297, 30.529885482788, 34.870685577393),
multiplier = 1.0,
},
{
name = "Baycity Avenue",
coords = vec4(-1269.81640625, -1046.4662109375, 8.2794057846069, 289.99713134766),
multiplier = 1.0,
},
{
name = "Melanoma Street",
coords = vec4(-1138.3776367188, -1571.0810546875, 4.1527800369263, 215.95301818848),
multiplier = 1.0,
},
}
-- [number] → The font index for the text. Find them at https://wiki.rage.mp/index.php?title=Fonts_and_Colors
Config.textFont = 1
-- [table] → The delivery zones for the mission
Config.avalaibleDeliveryZone = {
vec3(1098.5854492188, -2238.5104980469, 29.629261016846),
vec3(1314.2960205078, -1953.8236083984, 43.335987091064),
vec3(967.16967773438, -1873.8328857422, 30.513860702515),
}
-- [number] → The time the player has to complete the mission (in seconds). It's recommanded to set a high value because the player can be interrupted by the police of your server.
Config.avalaibleTime = 25 * 60 -- 25 minutes
Last updated