mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 17:01:16 +00:00
server/exports.lua
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user