server/exports.lua

This commit is contained in:
ChatDisabled
2022-08-21 18:36:50 +02:00
committed by GitHub
parent 6ee58f9017
commit 7aba11da2c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ local function ExploitBan(playerId, origin)
2147483647,
'Anti Cheat'
})
DropPlayer(playerId, "You have been banned for cheating. Check our Discord for more information: " .. QBCore.Config.Server.Discord)
DropPlayer(playerId, Lang:t('info.skick', {discord = QBCore.Config.Server.Discord}))
TriggerEvent("qb-log:server:CreateLog", "anticheat", "Anti-Cheat", "red", name .. " has been banned for exploiting " .. origin, true)
end