Skip to content

Commit

Permalink
Update sv_main.lua (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkeyWhisper authored Apr 12, 2023
1 parent 2497603 commit cc0c2c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/sv_main.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local QBCore = exports['qb-core']:GetCoreObject()

local webhook = "https://discord.com/api/webhooks/1094729185777430599/FYATRwu3-dFNn5bIpu-8IWKpzpKL_sru5lrmFHO1d3gT7hQpzcmKNzt0bf3mXKBPJbbM"
-- Add Discord webhook here.
local webhook = ""

RegisterNetEvent("ps-camera:cheatDetect", function()
DropPlayer(source, "Cheater Detected")
Expand Down Expand Up @@ -35,4 +36,4 @@ QBCore.Functions.CreateUseableItem("photo", function(source, item)
if Player.Functions.GetItemByName(item.name) then
TriggerClientEvent("ps-camera:usePhoto", source, item.info.image)
end
end)
end)

0 comments on commit cc0c2c3

Please sign in to comment.