虫九资源分享(冲1K)
前往频道在 Telegram
990
订阅者
-524 小时
-17 天
+7130 天
帖子存档
990
// UE4防踢出
shadowhook_hook_func_addr((void*)(UE4 + 0x40BA237), (void*)hServerKickPlayer, (void**)&OrigServerKickPlayer);
990
if (totalEnemies > 0 || totalBots > 0) {
std::string s;
s += " ";
s += std::to_string((int)totalEnemies);
s += " ";
s += std::to_string((int)totalBots);
s += " ";
DrawFilledRectangle(HUD, FVector2D(glWidth / 2.10, 80), 45, 40, FLinearColor(1.f, 0.f, 0.f, 1.f));
DrawFilledRectangle(HUD, FVector2D(glWidth / 1.98, 80), 45, 40, FLinearColor(1.f, 1.f, 0.f, 1.f));
tslFont->LegacyFontSize = 18;
DrawOutlinedText(HUD, FString(s.c_str()), {(float)glWidth / 2, 100}, COLOR_WHITE, COLOR_BLACK, true);
tslFont->LegacyFontSize = TSL_FONT_DEFAULT_SIZE;
}
