Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- -- Basic settings
- Config.RequiredItem = 'skimmer_device' -- Item needed to place skimmer
- Config.SkimmerCardItem = 'skimmer_card' -- Item for skimmer card
- Config.CardMakerItem = 'card_maker' -- Item for creating cards
- Config.BlankCardItem = 'blank_card' -- Item needed to create skimmer card
- -- Webhook URLs
- Config.Webhooks = {
- activities = '',
- shop = '',
- money = ''
- }
- -- Job restrictions
- Config.BlacklistJobs = {
- 'police',
- 'sheriff'
- }
- -- Jobs that can remove skimmers
- Config.PoliceJobs = {
- 'police',
- 'sheriff'
- }
- -- Required police count to place skimmers
- Config.RequiredPolice = 2 -- Minimum number of police officers needed online
- -- ATM Cooldown settings
- Config.ATMCooldown = {
- enabled = true, -- Enable/disable ATM cooldown system
- timeMinutes = 30, -- Cooldown time in minutes after skimmer activity
- }
- -- Dispatch system settings
- Config.Dispatch = {
- enabled = true, -- Set to false to disable dispatch alerts
- placeSkimmerChance = 100, -- Chance (0-100) that placing skimmer triggers police alert
- withdrawMoneyChance = 100, -- Chance (0-100) that withdrawing money triggers police alert
- -- Custom dispatch code - paste your dispatch system code here
- customCode = function(coords, alertType)
- local streetName, crossing = GetStreetNameFromHashKey(GetStreetNameAtCoord(coords.x, coords.y, coords.z))
- local label = "Suspicious Activity"
- local code = "10-90"
- -- Different labels based on alert type
- if alertType == "withdraw" then
- label = "ATM Fraud"
- code = "10-16"
- end
- TriggerServerEvent('dispatch:server:senddispatch', {
- road = streetName,
- label = label,
- code = code,
- priority = "3",
- coords = coords,
- jobs = { "police", "sheriff" }
- })
- --[[ Example for cd_dispatch (replace above code with this if using cd_dispatch):
- local data = exports['cd_dispatch']:GetPlayerInfo()
- local title = "10-90 - Suspicious Activity"
- local message = "Suspicious activity reported at ATM location at "..data.street
- if alertType == "withdraw" then
- title = "10-16 - ATM Fraud"
- message = "Possible ATM fraud reported at "..data.street
- end
- TriggerServerEvent('cd_dispatch:AddNotification', {
- job_table = {'police', 'sheriff'},
- coords = coords,
- title = title,
- message = message,
- flash = 0,
- unique_id = data.unique_id,
- sound = 1,
- blip = {
- sprite = 431,
- scale = 1.2,
- colour = 3,
- flashes = false,
- text = '911 - '..title,
- time = 5,
- radius = 0,
- }
- })
- ]]
- end
- }
- -- Shop ped settings
- Config.ShopPed = {
- model = 'a_m_m_mlcrisis_01',
- coords = vector4(765.2267, -1225.4609, 25.2056, 1.6034)
- }
- -- Shop prices
- Config.ShopPrices = {
- skimmer_device = 2500,
- card_maker = 1500,
- blank_card = 250
- }
- -- Skimming time (in minutes)
- Config.SkimmingTime = {
- min = 1, -- Minimum time
- max = 1 -- Maximum time
- }
- -- Money obtained from skimmer card
- Config.CardMoney = {
- min = 500, -- Minimum amount
- max = 2500 -- Maximum amount
- }
- -- ATM props (you can add more)
- Config.ATMProps = {
- 'prop_atm_01',
- 'prop_atm_02',
- 'prop_atm_03',
- 'prop_fleeca_atm'
- }
- -- Skill check settings
- Config.SkillCheck = {
- difficulty = {'easy', 'easy', 'medium'}, -- Difficulty
- keys = {'w', 'a', 's', 'd'}, -- Keys
- inputs = 3 -- Number of inputs
- }
- -- Police skill check settings for removing skimmers
- Config.PoliceSkillCheck = {
- difficulty = {'easy', 'medium'}, -- Easier for police
- keys = {'w', 'a', 's', 'd'}, -- Keys
- inputs = 2 -- Fewer inputs for police
- }
- -- Texts and UI
- Config.Texts = {
- place_skimmer = 'Place Skimmer',
- open_skimmer = 'Open Skimmer',
- withdraw_money = 'Withdraw Money from Skimmer Card',
- shop_label = 'Skimmer Shop',
- info_label = 'How to use Skimmers',
- info_description = 'Learn how to use skimming equipment',
- shop_title = 'Skimmer Equipment Shop',
- buy_skimmer_device = 'Skimmer Device',
- buy_card_maker = 'Card Maker',
- buy_blank_card = 'Blank Card',
- price_format = 'Price: $%s',
- create_card_label = 'Create Skimmer Card',
- pickup_maker_label = 'Pick up Card Maker',
- remove_skimmer_police = 'Remove Skimmer (Police)',
- info_header = 'How to use Skimmers',
- info_content = 'Place a skimmer on an ATM, wait for it to become ready, use the card maker to create a card, then withdraw money from the card at any ATM.',
- }
- -- Notifications
- Config.Notifications = {
- -- Error notifications
- no_item = {
- title = 'Error',
- description = 'You don\'t have the required item!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- skill_failed = {
- title = 'Error',
- description = 'You failed! Try again.',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- not_enough_money = {
- title = 'Error',
- description = 'You don\'t have enough money!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- no_card_maker = {
- title = 'Error',
- description = 'You don\'t have card maker!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- no_skimmer_card = {
- title = 'Error',
- description = 'You don\'t have a skimmer card!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- no_data = {
- title = 'Error',
- description = 'You don\'t have any data to create a card!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- no_blank_card = {
- title = 'Error',
- description = 'You don\'t have a blank card!',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- not_enough_police = {
- title = 'Error',
- description = 'Not enough law enforcement online!',
- type = 'error',
- duration = 4000,
- position = 'top'
- },
- police_skill_failed = {
- title = 'Error',
- description = 'Failed to remove skimmer! Try again.',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- atm_on_cooldown = {
- title = 'Error',
- description = 'This ATM was recently used for skimming activities!',
- type = 'error',
- duration = 4000,
- position = 'top'
- },
- -- Success notifications
- skimmer_placed = {
- title = 'Success',
- description = 'Skimmer successfully placed!',
- type = 'success',
- duration = 4000,
- position = 'top'
- },
- skimmer_ready = {
- title = 'Skimmer',
- description = 'Your skimmer is ready to use!',
- type = 'success',
- duration = 5000,
- position = 'top',
- icon = 'fas fa-check-circle'
- },
- data_downloaded = {
- title = 'Success',
- description = 'Data downloaded from skimmer!',
- type = 'success',
- duration = 4000,
- position = 'top',
- icon = 'fas fa-download'
- },
- card_created = {
- title = 'Success',
- description = 'Card successfully created!',
- type = 'success',
- duration = 4000,
- position = 'top',
- icon = 'fas fa-credit-card'
- },
- maker_placed = {
- title = 'Success',
- description = 'Card maker placed on ground',
- type = 'success',
- duration = 3000,
- position = 'top'
- },
- maker_picked_up = {
- title = 'Success',
- description = 'Card maker picked up',
- type = 'success',
- duration = 3000,
- position = 'top'
- },
- skimmer_removed = {
- title = 'Success',
- description = 'Skimmer was removed',
- type = 'success',
- duration = 3000,
- position = 'top'
- },
- skimmer_removed_police = {
- title = 'Police Action',
- description = 'Skimmer confiscated by police',
- type = 'info',
- duration = 4000,
- position = 'top',
- icon = 'fas fa-shield-alt'
- },
- -- Cancelled notifications
- purchase_cancelled = {
- title = 'Cancelled',
- description = 'Purchase cancelled',
- type = 'error',
- duration = 2000,
- position = 'top'
- },
- placing_cancelled = {
- title = 'Cancelled',
- description = 'Placing skimmer was cancelled',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- pickup_cancelled = {
- title = 'Cancelled',
- description = 'Pickup cancelled',
- type = 'error',
- duration = 2000,
- position = 'top'
- },
- card_creation_cancelled = {
- title = 'Cancelled',
- description = 'Card creation cancelled',
- type = 'error',
- duration = 2000,
- position = 'top'
- },
- download_cancelled = {
- title = 'Cancelled',
- description = 'Download was cancelled',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- withdrawal_cancelled = {
- title = 'Cancelled',
- description = 'Withdrawal was cancelled',
- type = 'error',
- duration = 3000,
- position = 'top'
- },
- dispatch_alert = {
- title = 'Alert',
- description = 'Police have been notified of suspicious activity',
- type = 'warning',
- duration = 5000,
- position = 'top',
- icon = 'fas fa-exclamation-triangle'
- }
- }
- -- Progress bars
- Config.ProgressBars = {
- placing_skimmer = {
- duration = 4000,
- label = 'Placing skimmer...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true,
- mouse = false
- },
- anim = {
- dict = 'anim@mp_atm@enter',
- clip = 'enter'
- }
- },
- buying_item = {
- duration = 2000,
- label = 'Buying item...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'mp_common',
- clip = 'givetake1_a'
- }
- },
- downloading_data = {
- duration = 6000,
- label = 'Downloading data from skimmer...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'anim@gangops@facility@servers@',
- clip = 'hotwire'
- }
- },
- removing_skimmer = {
- duration = 5000,
- label = 'Removing skimmer...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- }
- },
- withdrawing_money = {
- duration = 7000,
- label = 'Withdrawing money from card...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'oddjobs@shop_robbery@rob_till',
- clip = 'loop'
- }
- },
- placing_maker = {
- duration = 1000,
- label = 'Placing maker...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'random@domestic',
- clip = 'pickup_low'
- }
- },
- creating_card = {
- duration = 4000,
- label = 'Creating card...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'anim@gangops@facility@servers@',
- clip = 'hotwire'
- }
- },
- picking_up_maker = {
- duration = 1000,
- label = 'Picking up maker...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'random@domestic',
- clip = 'pickup_low'
- }
- },
- removing_skimmer_police = {
- duration = 3000,
- label = 'Confiscating skimmer...',
- useWhileDead = false,
- canCancel = true,
- disable = {
- car = true,
- move = true,
- combat = true
- },
- anim = {
- dict = 'anim@mp_atm@enter',
- clip = 'enter'
- }
- }
- }
- -- Dynamic notification templates (for server-side with variables)
- Config.DynamicNotifications = {
- item_bought = {
- title = 'Success',
- description = 'You bought %s for $%s!', -- %s will be replaced with item name and price
- type = 'success',
- duration = 4000,
- position = 'top',
- icon = 'fas fa-shopping-cart'
- },
- money_withdrawn = {
- title = 'Success',
- description = 'You withdrew $%s from the skimmer card!', -- %s will be replaced with amount
- type = 'success',
- duration = 5000,
- position = 'top',
- icon = 'fas fa-money-bill'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment