Added Log for Console

This commit is contained in:
Unknown 2024-05-10 22:25:27 +02:00
parent 72b2c028f8
commit f785e17b48

View File

@ -350,6 +350,7 @@ void ProcessEventHook(SDK::UObject* Obj, SDK::UFunction* Function, void* Parms)
if (PlayerNameChanges[i].first == CallingController) { if (PlayerNameChanges[i].first == CallingController) {
if (PlayerNameChanges[i].second.size() > 1) { if (PlayerNameChanges[i].second.size() > 1) {
Cheat::MessageW(std::format(L"Player {} tried to Change Name too soon again. Maybe Player is using a Name Changer", PlayerStuff::Player::SanitizeWString(CallingController->PlayerState->PlayerNamePrivate.ToWString())));
return; return;
} }
else else