mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
fix: version checker
This commit is contained in:
@@ -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)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user