750
Obunachilar
-224 soatlar
-47 kun
-2830 kun
Postlar arxiv
PUBG LITE GM 0.26.0
• Unlimited BC
• Unlimited Gold
• Unlimited Silver
• All SKINS Unlocked
• No Anticheat
• 1 Click All Players Kill
• Many More....
By: AbishekLikePro
Commands to Add BC and SKINS
gm_add_uc 99999999
gm_add_gold 9999999
gm_add_silver 99999999
gm_add_item 1101004046 1
if (Config.manny.Health) {
int CurHP = (int) std::max(0, std::min((int) Player->Health, (int) Player->HealthMax));
int MaxHP = (int) Player->HealthMax;
float healthPercentage = (CurHP / (float)MaxHP) * 100;
int green = (int)std::max(0.0f, 255.0f * (healthPercentage / 100.0f));
int red = 255 - green;
long HPColor = IM_COL32(red, green, 0, 200);
if (Player->Health == 0.0f && !Player->bDead) {
HPColor = IM_COL32(0, 0, 0, 200); // Black if near death
CurHP = Player->NearDeathBreath;
if (Player->NearDeatchComponent) {
MaxHP = Player->NearDeatchComponent->BreathMax;
}
}
// Set the radius of the ring
float radius = density / 6.0f;
float thickness = radius * 0.1f; // The thickness of the ring
int segments = 100; // Number of segments for the ring (higher for smoother)
float angleStep = 2 * 3.14159f / segments; // Angle step per segment
// Center position of the health ring
ImVec2 center = {HeadPosSC.x, HeadPosSC.y - (radius * 2.5f)};
// Draw the health ring
for (int i = 0; i < segments; ++i) {
float angleStart = i * angleStep;
float angleEnd = (i + 1) * angleStep;
// Calculate the start and end positions of the segment
ImVec2 start = {
center.x + cosf(angleStart) * radius,
center.y + sinf(angleStart) * radius
};
ImVec2 end = {
center.x + cosf(angleEnd) * radius,
center.y + sinf(angleEnd) * radius
};
// Determine whether to fill the segment based on health percentage
bool filled = (i < segments * (CurHP / (float)MaxHP));
// Draw the segment of the ring (use a color for the filled portion, gray for the rest)
draw->AddLine(start, end, filled ? HPColor : IM_COL32(100, 100, 100, 150), thickness);
}
}
By @mr_manny01