mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-19 07:16:03 +01:00
Move bank enabling varibles to Config.lua
This commit is contained in:
8
atms.lua
8
atms.lua
@@ -5,12 +5,6 @@ local QBCore = exports['qb-core']:GetCoreObject()
|
|||||||
-- This requires QB-Target and has the location of every ATM, ATM prop and bank window
|
-- This requires QB-Target and has the location of every ATM, ATM prop and bank window
|
||||||
-- If Config.useATM = false, then none of this load
|
-- If Config.useATM = false, then none of this load
|
||||||
|
|
||||||
--Specific to ATM config options
|
|
||||||
Config.useATM = false
|
|
||||||
Config.useBanks = true
|
|
||||||
Config.BankBlips = true
|
|
||||||
Config.ATMBlips = false
|
|
||||||
|
|
||||||
Config.ATMModels = {"prop_atm_01", "prop_atm_02", "prop_atm_03", "prop_fleeca_atm" }
|
Config.ATMModels = {"prop_atm_01", "prop_atm_02", "prop_atm_03", "prop_fleeca_atm" }
|
||||||
|
|
||||||
Config.ATMLocations = {
|
Config.ATMLocations = {
|
||||||
@@ -379,4 +373,4 @@ RegisterNetEvent('jim-payments:client:ATM:give', function()
|
|||||||
TriggerServerEvent('jim-payments:server:ATM:give', dialog.citizen, dialog.price)
|
TriggerServerEvent('jim-payments:server:ATM:give', dialog.citizen, dialog.price)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user