diff --git a/server/logs.lua b/server/logs.lua index 8717b6b3..4cb7a2d9 100644 --- a/server/logs.lua +++ b/server/logs.lua @@ -1,4 +1,5 @@ local QBCore = exports['qb-core']:GetCoreObject() + local Webhooks = { ['default'] = '', ['testwebhook'] = '', @@ -35,6 +36,8 @@ local Webhooks = { ['casino'] = '', ['traphouse'] = '', ['911'] = '', + ['jail'] = '', + ['unjail'] = '', ['palert'] = '', ['house'] = '', ['qbjobs'] = '', @@ -90,7 +93,7 @@ RegisterNetEvent('qb-log:server:CreateLog', function(name, title, color, message end end) -Citizen.CreateThread(function() +CreateThread(function() local timer = 0 while true do Wait(1000) @@ -113,4 +116,4 @@ end) QBCore.Commands.Add('testwebhook', 'Test Your Discord Webhook For Logs (God Only)', {}, false, function() TriggerEvent('qb-log:server:CreateLog', 'testwebhook', 'Test Webhook', 'default', 'Webhook setup successfully') -end, 'god') \ No newline at end of file +end, 'god')