fix: version checker

This commit is contained in:
Andyyy7666
2022-09-23 20:19:15 +02:00
committed by GitHub
parent b6c509fcdd
commit 273b873c05

View File

@@ -1,5 +1,5 @@
NDCore = exports["ND_Core"]:GetCoreObject()
NDCore.Functions.VersionChecker("ND_Banks", GetCurrentResourceName(), "https://github.com/Andyyy7666/ND_Framework", "https://raw.githubusercontent.com/Andyyy7666/ND_Framework/main/ND_Banks/fxmanifest.lua")
NDCore.Functions.VersionChecker("ND_Banks", GetCurrentResourceName(), "https://github.com/ND-Framework/ND_Framework", "https://raw.githubusercontent.com/ND-Framework/ND_Framework/main/ND_Banks/fxmanifest.lua")
RegisterNetEvent("ND_Banks:withdraw", function(amount)
local player = source
@@ -17,4 +17,4 @@ RegisterNetEvent("ND_Banks:transfer", function(amount, target)
local player = source
local update = NDCore.Functions.TransferBank(amount, player, target)
TriggerClientEvent("ND_Banks:update", player, update)
end)
end)