𝐅𝐄𝐀𝐓𝐔𝐑𝐄𝐒𝐓𝐈𝐂 𝐋𝐄𝐀𝐊𝐒
الذهاب إلى القناة على Telegram
📌 Educational & Research Purpose Only 🔍 Sharing publicly available source code for learning ❌ No selling ❌ No buying ❌ No promotions ⚠️ I am not responsible for misuse 📚 For knowledge & awareness only MODs & Kernel Resources.☑️
إظهار المزيد1 825
المشتركون
-124 ساعات
+357 أيام
+21930 أيام
أرشيف المشاركات
1 826
(Auto Write Version Name)
Up Of DrawESP
#include <string>
#include <vector>
#include <fstream>
#include <iostream>
// List of known PUBG Mobile package names
std::vector<std::string> pubgPackages = {
"com.tencent.ig", // Global
"com.pubg.krmobile", // Korea (KR)
"com.vng.pubgmobile", // Vietnam (VN)
"com.rekoo.pubgm", // Taiwan (TW)
"com.pubg.imobile", // BGMI (India)
"com.tencent.tmgp.pubgmhd" // China (Game for Peace)
};
// Function to check if a package is installed
bool isPackageInstalled(const std::string& packageName) {
std::string path = "/data/data/" + packageName; // Common Android app data path
std::ifstream file(path.c_str());
return file.good();
}
// Function to detect installed PUBG version
std::string detectPubgVersion() {
for (const auto& pkg : pubgPackages) {
if (isPackageInstalled(pkg)) {
return pkg; // Return the first detected package
}
}
return "PUBG Not Installed"; // If no package is found
}
Under Of DrawESP
if (!draw) return;
std::string detectedPackage = detectPubgVersion();
std::string displayText = "Version : " + detectedPackage; // @exe_right
draw->AddText(NULL, ((float) density / 18.0f),{(float) screenWidth / 120 + screenWidth / 40,85}, IM_COL32(255,255,0,255),displayText.c_str());