Menu (ltfx4.7 Look)

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论Menu (ltfx4.7 Look)
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
0个回复

Menu (ltfx4.7 Look)

楼层直达
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看楼主 使用道具 楼主   发表于: 2007-06-30 0

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;
   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

密码被盗,请联系cscheat取回
« 返回列表
发帖 回复