v2.8.1 - Support added for Renewed-Banking + lua54

This commit is contained in:
Jim Shield
2022-09-18 15:32:10 +01:00
committed by GitHub
parent 939026fd68
commit f0f5f19af8
7 changed files with 59 additions and 43 deletions

View File

@@ -104,17 +104,6 @@ CreateThread(function()
end
end)
local function PlayATMAnimation(animation)
if animation == 'enter' then
end
if animation == 'exit' then
loadAnimDict('amb@prop_human_atm@male@exit')
TaskPlayAnim(PlayerPedId(), 'amb@prop_human_atm@male@exit', "exit", 1.0,-1.0, 3000, 1, 1, true, true, true)
unloadAnimDict('amb@prop_human_atm@male@enter')
end
end
RegisterNetEvent('jim-payments:Client:ATM:use', function(data)
--this grabs all the info from names to savings account numbers in the databases
local p = promise.new()