add: UnlimitedUV function

This commit is contained in:
jadis0x
2022-10-02 15:20:19 +03:00
committed by GitHub
parent 5d3326bc07
commit 4f7166b1f3

View File

@@ -16,4 +16,14 @@ void Misc::WalkInlobby(bool walk) {
Players::LocalPlayer->AddComponent(UltimateCharacterLocomotionHandler);
}
*/
}
}
void Misc::UnlimitedUV(bool active) {
try {
Players::LocalPlayer->GetComponent("NolanBehaviour")->CallMethodSafe<void*>("SetPurgatory", active);
}
catch (...) {
settings::unlimited_uv = false;
std::cout << "Unlimited UV error";
}
}