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
@@ -98,7 +98,7 @@ local Translations = {
checking_ban = 'Hello %s. We are checking if you are banned.',
join_server = 'Welcome %s to {Server Name}.',
checking_whitelisted = 'Hello %s. We are checking your allowance.',
skick = 'You have been banned for cheating. Check our Discord for more information: ',
skick = 'You have been banned for cheating. Check our Discord for more information: %{discord}',
pdexp = 'You Have Been Kicked For Exploitation',
}
}
+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