mirror of
https://github.com/jimathy/jim-payments.git
synced 2026-08-19 15:26:03 +01:00
Create FUNDING.yml + delay loading
This commit is contained in:
12
.github/FUNDING.yml
vendored
Normal file
12
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: jixelpatterns
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: ['https://jimathy666.tebex.io/']
|
||||
@@ -1,7 +1,8 @@
|
||||
local Targets = {}
|
||||
|
||||
if Config.ATMs.enable then
|
||||
CreateThread(function() -- Automatic detection of models and make targets and blips
|
||||
onPlayerLoaded(function() -- Automatic detection of models and make targets and blips
|
||||
Wait(2000)
|
||||
while true do
|
||||
local pedCoords = GetEntityCoords(PlayerPedId())
|
||||
for _, v in pairs(GetGamePool('CObject')) do
|
||||
@@ -31,7 +32,7 @@ if Config.ATMs.enable then
|
||||
end
|
||||
Wait(5000)
|
||||
end
|
||||
end)
|
||||
end, true)
|
||||
end
|
||||
|
||||
RegisterNetEvent(getScript()..":Client:ATM", function() local setheader = nil
|
||||
|
||||
@@ -3,6 +3,7 @@ Peds = {}
|
||||
RegisterNetEvent('QBCore:Client:SetDuty', function(duty) onDuty = duty end)
|
||||
|
||||
if Config.Banks.enable then
|
||||
onPlayerLoaded(function()
|
||||
for k, v in pairs(BankLocations) do
|
||||
for i = 1, #v do
|
||||
local name = getScript()..":BankLocation:"..k..i
|
||||
@@ -44,6 +45,7 @@ if Config.Banks.enable then
|
||||
end
|
||||
end
|
||||
end
|
||||
end, true)
|
||||
end
|
||||
|
||||
RegisterNetEvent(getScript()..":Client:Bank", function(data) local setheader = nil
|
||||
|
||||
@@ -2,6 +2,7 @@ local BankPed = nil
|
||||
local Till = {}
|
||||
|
||||
function spawnCustomRegisters()
|
||||
Wait(1000)
|
||||
for k, v in pairs(Config.CustomCashRegisters) do
|
||||
for i = 1, #v do
|
||||
local job, gang = v[i].gang and nil or k, v[i].gang and k or nil
|
||||
|
||||
Reference in New Issue
Block a user