mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
REFACTORRRRRR
fuck you
This commit is contained in:
@@ -26,7 +26,7 @@ end
|
||||
|
||||
-- check if the players department can receive shot spotter alerts.
|
||||
function isCop()
|
||||
local job = NDCore.functions:getSelectedCharacter().job
|
||||
local job = NDCore.Functions.GetSelectedCharacter().job
|
||||
for _, department in pairs(config.receiveAlerts) do
|
||||
if department == job then
|
||||
return true
|
||||
|
||||
@@ -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/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)
|
||||
|
||||
Reference in New Issue
Block a user