⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu (ltfx4.7 look).txt

📁 * first open client.cpp and search for that USER_MSG_INTERCEPT(TeamInfo) over it u add this
💻 TXT
字号:
Okay, if you already have retarts menu and sorta dont like the look you can make it nicer (if you ever used fury v2 thats the kind of menu) 

Again im to lazy to go look on which ever forum this was posted so i dunno who made it but all credits to you kty 

okay search for void drawmenu and just above that add this code 

Code: 

void RetarTMenuMenuStr2(int x, int y, ColorEntry* clr1, ColorEntry* clr2, const char *fmt, ... ) 
{ 
   va_list va_alist; 
   char buf[256]; 
   va_start (va_alist, fmt); 
   _vsnprintf(buf, sizeof(buf), fmt, va_alist); 
   va_end (va_alist); 
    
   int w = cvar.menu_w; 
   tintArea(x-1,y-1,w,20,colorList.get(21)); 
   DrawHudString(x,y,255,255,255,buf); 
    
}    

void RetarTMenuMenuSelStr2(int x, int y, ColorEntry* clr1, ColorEntry* clr2, const char *fmt, ... ) 
{ 
   va_list va_alist; 
   char buf[256]; 
   va_start (va_alist, fmt); 
   _vsnprintf(buf, sizeof(buf), fmt, va_alist); 
   va_end (va_alist); 
    
   int w = cvar.menu_w; 
   tintArea(x-1,y-1,w,20,colorList.get(22)); 
   DrawHudString(x,y,255,255,255,buf); 
    
} 
 


now add this at the bottom of the drawmenu function 

Code: 

    if (cvar.menu==2) 
   { 
   if(!menu_active) return; 
   if(!curMenu) { curMenu = ogcMenu.baseMenu; } 
   vector<OgcCommandMenu::MenuEntry>& items = curMenu->items; 
   int x=cvar.menu_x, y=cvar.menu_y, w=cvar.menu_w; 

   // title text 
   RetarTMenuMenuSelStr2(x,y-21,clr1,clr2,const_cast<char*>(curMenu->name.c_str())); 

   for(int i=0;i<items.size();i++) 
   { 
   OgcCommandMenu::MenuEntry& item=items[i]; 
   if(curMenu->selection == i) 
        RetarTMenuMenuSelStr2(x,y+(21*i),clr1,clr3,const_cast<char*>(item.name.c_str())); 
      else 
     RetarTMenuMenuStr2(x,y+(21*i),clr1,clr2,const_cast<char*>(item.name.c_str())); 
   } 
   } 
 



should work, i use it 
also add something like this to your cfg 

Code: 

menu_back 255 255 255 60 
menu_select 120 120 255 128 
 
ColorEntry* clr1 = colorList.get(0);
	ColorEntry* clr2 = colorList.get(2);
	ColorEntry* clr3 = colorList.get(1);

that looks like this if you did everything right except only the blue is black 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -