999
Subscribers
No data24 hours
-177 days
-8630 days
Posts Archive
999
if (Settings::Esp::Name)
{
std::wstring testx = L"";
std::wstring temp = L"";
if (Player->bEnsure)
{
string BotName = "Bot ";
DrawBorderString(draw, pRegularFont, Settings::Setttings_X::TextSize, BotName, Screen.X, (Screen.Y + Screen.Z + 4), IM_COL32(0, 150, 255, 255), true); /// alive bot name
}
else
{
temp = Player->PlayerName.ToWString();
float health = Player->Health;
if (health > 0.0f)
{
DrawBorderStringW(draw, pRegularFont, Settings::Setttings_X::TextSize, temp, Screen.X, (Screen.Y + Screen.Z + 4), Yellow, Black, true);
}
if (health <= 0.0f)
{
DrawBorderStringW(draw, pRegularFont, Settings::Setttings_X::TextSize, temp, Screen.X, (Screen.Y + Screen.Z + 4), White, Black, true);
}
}
}
999
if (Settings::Esp::Box)
{
Box4Line(draw, Screen.X - Screen.Z / 4 - 3, Screen.Y - 5, (Screen.Z / 2) + 3, Screen.Z + 5, 1.0f, 0.5f / 2, Cheat::ImGui_X::BONE);
}
999
if (Settings::Esp::Health)
{
float MaxHP = Player->HealthMax;
float health = Player->Health;
float KnockHealth = Player->NearDeathBreath;
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5), Black);
if (health > 70.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Green);
}
if (health > 30.0 && health <= 70.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Yellow);
}
if (health > 0.0 && health <= 30.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Red);
}
if (health <= 0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * KnockHealth / MaxHP, Red2);
}
}999
if (Settings::Esp::GameInfo)
{
if (Actors[i]->IsA(ASTExtraGameStateBase::StaticClass()))
{
auto GameState = static_cast(Actors[i]);
int alivePlayerNum = GameState->AlivePlayerNum;
int aliveTeamNum = GameState->AliveTeamNum;
int OnlinePlayer = GameState->PlayerNum;
int timeop = GameState->ElapsedTime;
FVector VelocityOP = Cheat::localPlayer->GetVelocity();
FVector PlayerPos = Cheat::localPlayer->RootComponent->K2_GetComponentLocation();
EParachuteState CheckEnum = Cheat::localPlayer->ParachuteState;
if (CheckEnum == EParachuteState::EParachuteState__PS_None)
{
float SpeedCmPerSec = sqrt(VelocityOP.X * VelocityOP.X + VelocityOP.Y * VelocityOP.Y + VelocityOP.Z * VelocityOP.Z);
Velocityop = SpeedCmPerSec / 100.0f;
Altitute = PlayerPos.Z;
FVector CurrentLocation = Cheat::localPlayer->K2_GetActorLocation();
float DistanceTraveled = MathX::CalculateDistance(PreviousLocation, CurrentLocation);
travlled += DistanceTraveled / 100.0f;
PreviousLocation = CurrentLocation;
}
else
{
Velocityop = 0.f;
travlled = 0.f;
}
Textt4 = "Travelled distance: ";
Textt5 = "m (";
Textt6 = "m/s) ";
Textt7 = "Current Player Altitude: ";
Textt3 = " team, real players: ";
Textt2 = " players alive with ";
stringstream format2stream2, forma2stream, format3stream3;
format2stream2 << fixed << setprecision(2) << Velocityop;
forma2stream << fixed << setprecision(0) << travlled;
format3stream3 << fixed << setprecision(2) << Altitute;
if (Cheat::LocalController->bIsTrainingMode)
{
Textt = "In Training Mode " ICON_FA_TRASH;
}
else
{
Textt = to_string(alivePlayerNum) + Textt2 + to_string(aliveTeamNum) + Textt3 + to_string(OnlinePlayer);
}
if (CheckEnum == EParachuteState::EParachuteState__PS_FreeFall)
{
Textttt = "Jumped Off Plane " ICON_FA_THUMBS_UP;
}
else if (CheckEnum == EParachuteState::EParachuteState__PS_Opening)
{
Textttt = "Parachute Opened " ICON_FA_SMILE;
}
else if (CheckEnum == EParachuteState::EParachuteState__PS_None && Altitute >= 40000.0f)
{
Textttt = "In Plane " ICON_FA_THUMBS_UP;
}
else
{
Textttt = Textt4 + forma2stream.str() + Textt5 + format2stream2.str() + Textt6;
Texttttt = Textt7 + format3stream3.str();
}
if (alivePlayerNum <= 4 && aliveTeamNum == 1)
{
Text = "Winner Winner Chicken Dinner " ICON_FA_THUMBS_UP;
}
else
{
Text = "In match (" + to_string(timeop) + " seconds)";
}
999
if (Settings::Esp::Name)
{
std::wstring testx = L"";
std::wstring temp = L"";
if (Player->bEnsure)
{
string BotName = "Bot ";
DrawBorderString(draw, pRegularFont, Settings::Setttings_X::TextSize, BotName, Screen.X, (Screen.Y + Screen.Z + 4), IM_COL32(0, 150, 255, 255), true); /// alive bot name
}
else
{
temp = Player->PlayerName.ToWString();
float health = Player->Health;
if (health > 0.0f)
{
DrawBorderStringW(draw, pRegularFont, Settings::Setttings_X::TextSize, temp, Screen.X, (Screen.Y + Screen.Z + 4), Yellow, Black, true);
}
if (health <= 0.0f)
{
DrawBorderStringW(draw, pRegularFont, Settings::Setttings_X::TextSize, temp, Screen.X, (Screen.Y + Screen.Z + 4), White, Black, true);
}
}
}
999
if (Settings::Esp::Box)
{
Box4Line(draw, Screen.X - Screen.Z / 4 - 3, Screen.Y - 5, (Screen.Z / 2) + 3, Screen.Z + 5, 1.0f, 0.5f / 2, Cheat::ImGui_X::BONE);
}
999
if (Settings::Esp::Health)
{
float MaxHP = Player->HealthMax;
float health = Player->Health;
float KnockHealth = Player->NearDeathBreath;
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5), Black);
if (health > 70.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Green);
}
if (health > 30.0 && health <= 70.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Yellow);
}
if (health > 0.0 && health <= 30.0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * health / MaxHP, Red);
}
if (health <= 0)
{
DrawFilledRectangle(draw, Screen.X - (Screen.Z / 4) - 4, (Screen.Y - 5) + (Screen.Z + 5), 3, (Screen.Z + 5) * KnockHealth / MaxHP, Red2);
}
}