mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-21 03:28:33 +00:00
AddEventHandler.... not needed <3
This commit is contained in:
1 parent
803727e4e0
commit
7f153e72b2
14 files changed
+33
-66
No files matched your search
@@ -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