g_LocalController = localCooller;
g_LocalController = localController; g_LocalPlayer = localPlayer; for (int i = 0; i < Actors.size(); i++) { auto Actor = Actors[i]; if (isObjectInvalid(Actor)) continue; if (Actor->IsA(ASTExtraPlayerCharacter::StaticClass())) { long PlayerBoxClrCf = IM_COL32(0, 255, 0, 255); long PlayerBoxClrCf2 = IM_COL32(0, 255, 0, 25); auto Player = (ASTExtraPlayerCharacter *) Actor; if (!localController->LineOfSightTo(Player, {0, 0, 0}, true)) { PlayerBoxClrCf = IM_COL32(255, 0, 0, 255); PlayerBoxClrCf2 = IM_COL32(255, 0, 0, 25); } if (totalEnemies > 0 || totalBots > 0) { std::string s; if (totalEnemies > 0) { s = "Enem"; if (totalEnemies > 1) s += "ies"; else s += "y"; s += " Nearby:"; s += std::to_string(totalEnemies); if (totalBots > 0) s += ""; } if (totalBots) { s += "(Bots"; if (totalBots > 1) // s += "s"; s += ":"; s += std::to_string(totalBots); s += ")"; } auto HeadPos = Player->GetBonePos("Head", {}); ImVec2 HeadPosSC; auto textSize = ImGui::CalcTextSize2(s.c_str(), 0, s.size()); draw->AddText(nullptr, ((float) density / 11.4f), ImVec2(glWidth / 2 - 50.f, 50), PlayerBoxClrCf, s.c_str()); draw->AddText(nullptr, ((float) density / 11.4f), ImVec2(glWidth / 2 - 50.f, 50), PlayerBoxClrCf, s.c_str()); } fps.update(); }} المصدر https://t.me/fpll_R
在Telegram中查看相关推荐

🔍 发送关键词来寻找群组、频道或视频。
启动SOSO机器人