Paid Scripts
Below is where you would input the license key generated from https://license.simpledevelopments.org
Config.LicenseKey = 'LICENSE-KEY'Here is where you can configure the income amount and the interval between payments.
Config.Income = {
PaycheckAmount = 500, -- Amount of money you'd get paid in the time frame.
PaycheckIntervalMinutes = 15, -- Time in minutes for how long it would take to get paid.
}In these sections, you can configure where all bank locations are and where the bank terminal is located. Below that, you can see where ATM blips appear. ATMs go off the model; however, due to the FiveM limitation, the blip is unable to function with the model, so the coords are in the config.
Config.BankLocations = {
vector3(149.36, -1040.61, 29.37), -- Pacific Standard Public Deposit Bank
vector3(-1212.85, -330.83, 37.79), -- Lombank West
vector3(-2962.59, 482.75, 15.7), -- Blaine County Savings Bank
vector3(-112.02, 6469.17, 31.63), -- Paleto Bay Bank
vector3(314.24, -278.62, 54.17), -- Maze Bank Building (Main entrance)
vector3(-351.01, -49.79, 49.04), -- Maze Bank West
vector3(1175.4244, 2706.8047, 38.0941) -- Route 68
}
Config.ATMLocations = { -- These coords are for ATM blips, interactions with the ATMs will still go off the AtmModels
vector3(1175.06, -353.33, 69.25), -- Mirror Park
vector3(-139.09, 6338.4, 31.49), -- Paleto Bay Market
vector3(298.12, -895.53, 29.18), -- Vespucci Canals
}
Config.AtmModels = { -- Do not touch
"prop_atm_01",
"prop_atm_02",
"prop_atm_03",
"prop_fleeca_atm"
}Here you can configure robbery settings, including store and bank robberies. Below, you can also change the minimum and maximum amounts for each robbery. You can also configure the locations of both robbery options.
Config.Robbery = {
Store = {
minReward = 50,
maxReward = 250,
duration = 30000, -- 30 seconds in milliseconds
cooldown = 10, -- 10 minutes
locations = {
{ name = "LTD Gasoline", coords = vector3(1135.5, -982.3, 46.4) },
{ name = "24/7 Store", coords = vector3(-707.0, -914.8, 19.2) },
{ name = "Vespucci 24/7", coords = vector3(24.5, -1347.0, 29.5) },
{ name = "Mirror Park LTD", coords = vector3(1164.6704, -322.8020, 69.2051)}
--[[
Template to create your own store locations to rob!
{ name = "Store Name", coords = vector3(x coord, y coord, z coord) },
]]
}
},
Bank = {
minReward = 2500,
maxReward = 10000,
duration = 60000, -- 60 seconds in milliseconds
cooldown = 30, -- 30 minutes
locations = {
{ name = "Legion FLEECA Bank", coords = vector3(146.8885, -1045.9697, 29.3627) },
{ name = "Rockford Hills FLEECA Bank", coords = vector3(-1210.8082, -336.5641, 37.7810) },
{ name = "GOH FLEECA Bank", coords = vector3(-2956.5649, 481.6998, 15.6971) },
{ name = "Paleto Bay Bank", coords = vector3(-105.4909, 6471.9507, 31.6267) },
{ name = "Meteor St FLEECA Bank", coords = vector3(311.2008, -284.4298, 54.1648) },
{ name = "Hawick Ave FLEECA Bank", coords = vector3(-353.8672, -55.2865, 49.0366) },
{ name = "Route 68 FLEECA Bank", coords = vector3(1176.0438, 2712.8530, 38.0881) }
--[[
Template to create your own bank locations to rob!
{ name = "Bank Name", coords = vector3(x coord, y coord, z coord) },
]]
}
}
}Below, you can find configurable options for police notifications for each robbery system.
Config.Police = {
AlertsEnabled = true,
WhitelistOnly = true,
AcePermission = "robbery.alerts", -- The ACE permission required to receive alerts if WhitelistOnly is true.
-- add_ace group.police robbery.alerts allow
Blip = {
Sprite = 161, -- The sprite for the blip
Color = 1, -- The color of the blip (1 = red)
Scale = 1.5, -- The scale of the blip
Duration = 120 -- How long the blip should last (in seconds)
}
}The snippet below shows the ability to configure blips for each robbery location on the map.
Config.Blips = {
Bank = {
Enabled = true,
Sprite = 108, -- Dollar Sign
Color = 2, -- Green
Scale = 0.8,
Name = "Bank"
},
ATM = {
Enabled = true,
Sprite = 277, -- Dollar Sign (Alternate)
Color = 2, -- Green
Scale = 0.7,
Name = "ATM"
},
Store = { -- These are the robbable stores
Enabled = true,
Sprite = 110, -- Gun
Color = 1, -- Red
Scale = 0.8,
Name = "Robbable Store"
},
RBank = { -- These are the robbable banks
Enabled = true,
Sprite = 110, -- Gun
Color = 1, -- Red
Scale = 0.8,
Name = "Robbable Bank"
}
}All configurable settings will only be shown in the config.lua. Files like the server.lua and client.lua will not have any config options available.