mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 22:06:02 +01:00
AddEventHandler.... not needed <3
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
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")
|
||||
|
||||
RegisterNetEvent("ND_ShotSpotter:Trigger")
|
||||
AddEventHandler("ND_ShotSpotter:Trigger", function(street, pedCoords, postal, zoneName)
|
||||
RegisterNetEvent("ND_ShotSpotter:Trigger", function(street, pedCoords, postal, zoneName)
|
||||
if server_config.useDiscordLogging then
|
||||
local embed = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user