feat(core): secure events

This commit is contained in:
Kasey FItton
2024-11-02 20:04:45 +00:00
parent 87d55a2b0f
commit 2bc9f83ffb
11 changed files with 65 additions and 47 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ local function Notify(notificatonType, length, message)
end
exports("Notify", Notify)
RegisterNetEvent("ESX:Notify", Notify)
ESX.SecureNetEvent("ESX:Notify", Notify)
if Debug then
RegisterCommand("oldnotify", function()