Added Settings to Interact with Anti Cheat and added Anti Cheat Settings to Configsystem

This commit is contained in:
Unknown 2024-07-21 02:32:17 +02:00
parent a798139d7e
commit 91803e015a

View File

@ -300,6 +300,7 @@ namespace Settings {
ULONGLONG TickCountCheatTime = 0; ULONGLONG TickCountCheatTime = 0;
bool FreeUpCheat = false;
bool NewVersion_ = false; bool NewVersion_ = false;
bool Open = true; bool Open = true;
bool Esp = false; bool Esp = false;
@ -345,9 +346,17 @@ namespace Settings {
//Anti Cheat //Anti Cheat
bool AntiCheat = false; bool AntiCheat = false;
//Anti Cheat Settings
bool AC_KickOnViolation = false;
//Anti Cheat Options
bool AC_InvalidItemSpawner = false; bool AC_InvalidItemSpawner = false;
bool AC_NameChanger = false; bool AC_NameChanger = false;
//Anti Cheat Options Settings
char AC_NameChangerAllowedChanges = 1;
//Misc //Misc
@ -469,6 +478,11 @@ namespace Settings {
configsys->AddField(&BoatSpeed, 29); configsys->AddField(&BoatSpeed, 29);
configsys->AddField(&PlayerFlySpeedY, 30); configsys->AddField(&PlayerFlySpeedY, 30);
//configsys->AddField(&CurrentName_Saved, 31); //configsys->AddField(&CurrentName_Saved, 31);
configsys->AddField(&AntiCheat, 32);
configsys->AddField(&AC_KickOnViolation, 33);
configsys->AddField(&AC_InvalidItemSpawner, 34);
configsys->AddField(&AC_NameChanger, 35);
configsys->AddField(&AC_NameChangerAllowedChanges, 36);
} }
} }