From df9b88b63da803f018ff922f34624da22a43c790 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Fri, 23 Sep 2022 20:16:45 +0200 Subject: [PATCH] fix: version checker --- ND_ShotSpotter/source/server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ND_ShotSpotter/source/server.lua b/ND_ShotSpotter/source/server.lua index 876281f..80f0982 100644 --- a/ND_ShotSpotter/source/server.lua +++ b/ND_ShotSpotter/source/server.lua @@ -1,7 +1,7 @@ -- For support join my discord: https://discord.gg/Z9Mxu72zZ6 NDCore = exports["ND_Core"]:GetCoreObject() -NDCore.Functions.VersionChecker("ND_ShotSpotter", GetCurrentResourceName(), "https://github.com/Andyyy7666/ND_Framework", "https://raw.githubusercontent.com/Andyyy7666/ND_Framework/main/ND_ShotSpotter/fxmanifest.lua") +NDCore.Functions.VersionChecker("ND_ShotSpotter", GetCurrentResourceName(), "https://github.com/ND-Framework/ND_Framework", "https://raw.githubusercontent.com/ND-Framework/ND_Framework/main/ND_ShotSpotter/fxmanifest.lua") RegisterNetEvent("ND_ShotSpotter:Trigger", function(street, pedCoords, postal, zoneName) if server_config.useDiscordLogging then @@ -35,4 +35,4 @@ RegisterNetEvent("ND_ShotSpotter:Trigger", function(street, pedCoords, postal, z PerformHttpRequest(server_config.discordWebhook, function(err, text, headers) end, 'POST', json.encode({username = "ND Shotspotter", embeds = embed}), {["Content-Type"] = "application/json"}) end TriggerClientEvent("ND_ShotSpotter:Report", -1, street, pedCoords, postal) -end) \ No newline at end of file +end)