mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-27 21:34:45 +00:00
fix: version checker
This commit is contained in:
1 parent
273b873c05
commit
db8c18995f
1 file changed
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
NDCore = exports["ND_Core"]:GetCoreObject()
|
NDCore = exports["ND_Core"]:GetCoreObject()
|
||||||
NDCore.Functions.VersionChecker("ND_ATMs", GetCurrentResourceName(), "https://github.com/Andyyy7666/ND_Framework", "https://raw.githubusercontent.com/Andyyy7666/ND_Framework/main/ND_ATMs/fxmanifest.lua")
|
NDCore.Functions.VersionChecker("ND_ATMs", GetCurrentResourceName(), "https://github.com/ND-Framework/ND_Framework", "https://raw.githubusercontent.com/ND-Framework/ND_Framework/main/ND_ATMs/fxmanifest.lua")
|
||||||
|
|
||||||
RegisterNetEvent("ND_ATMs:withdraw", function(amount)
|
RegisterNetEvent("ND_ATMs:withdraw", function(amount)
|
||||||
local player = source
|
local player = source
|
||||||
@@ -11,4 +11,4 @@ RegisterNetEvent("ND_ATMs:deposit", function(amount)
|
|||||||
local player = source
|
local player = source
|
||||||
local update = NDCore.Functions.DepositMoney(amount, player)
|
local update = NDCore.Functions.DepositMoney(amount, player)
|
||||||
TriggerClientEvent("ND_ATMs:update", player, update)
|
TriggerClientEvent("ND_ATMs:update", player, update)
|
||||||
end)
|
end)
|
||||||
Reference in new issue
Block a user