Move exempt util to anticheat js

This commit is contained in:
Vortrex
2021-12-26 11:47:25 -06:00
parent 3d96bee906
commit 420480c2f8

View File

@@ -237,3 +237,15 @@ function toggleAntiCheatScriptBlackListCommand(command, params, client) {
updateServerRules();
return true;
}
// ===========================================================================
function isPlayerExemptFromAntiCheat(client) {
if(hasBitFlag(getPlayerData(client).accountData.flags.moderation, getModerationFlagValue("ExemptFromAntiCheat"))) {
return true;
}
return false;
}
// ===========================================================================