leeb menu

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论leeb menu
发帖 回复
正序阅读 最近浏览的帖子最近浏览的版块
0个回复

leeb menu

楼层直达
作弊辅导员_h

ZxID:1019634

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

goto client.cpp and serch for

void drawMenu

and replace it with this

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(24));
DrawGlowHudString(x,y,255,255,255,buf);

}
//=============================================
void drawMenu( )
{
if(!menu_active) return;
if(!curMenu) { curMenu = ogcMenu.baseMenu; }
vector& items = curMenu->items;
int x=cvar.menu_x, y=cvar.menu_y, w=cvar.menu_w;

// title text
DrawMenuSelString(x,y-26,255,255,255, const_cast(curMenu->name.c_str()));

for(int i=0;i {
OgcCommandMenu::MenuEntry& item=items;
if(curMenu->selection == i)
DrawMenuSelString(x,y+(26*i),255,255,255,const_cas
t(item.name.c_str()));
else
DrawMenuString(x,y+(26*i),255,255,255,const_cast(item.name.c_str()));
}
}
//=============================================

END CODE

then serch for
void DrawSubBorder

under that add this

CODE:

//=============================================
void DrawMenuString(int x, int y, int r, int g, int b, 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;
ColorEntry c1 = *colorList.get(10);
ColorEntry c2 = *colorList.get(44);
DrawBorder(x-w/7-1,y-4,w,20,1,255,000,000);
DrawHudString(x,y,255,255,255,buf);
}
//=============================================
void DrawMenuSelString(int x, int y, int r, int g, int b, 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;
ColorEntry c1 = *colorList.get(10);
ColorEntry c2 = *colorList.get(44);
DrawSubBorder(x-w/7-1,y-4,w,20,1,2);
DrawGlowHudString(x,y,255,255,255,buf);
}
//=============================================

END CODE

now find void DrawHudStringCenter

and add this UNDER it

CODE:

void DrawGlowHudString(int x, int y, int r, int g, int b, 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);
DrawHudString(x-2, y+00, 0, 0, 255, buf);
DrawHudString(x+2, y+00, 0, 0, 255, buf);
DrawHudString(x , y+2, 0, 0, 255, buf);
DrawHudString(x , y-2, 0, 0, 255, buf);
DrawHudString(x-1, y-1, 0, 0, 255, buf);
DrawHudString(x+1, y+1, 0, 0, 255, buf);
DrawHudString(x+1, y-1, 0, 0, 255, buf);
DrawHudString(x-1, y+1, 0, 0, 255, buf);
DrawHudString(x, y ,255, 255, 255, buf);
DrawHudString(x, y, r, g, b, buf);
}

CODE END

then in client.h add this

CODE:

void DrawGlowHudString (int x, int y, int r, int g, int b, const char *fmt, ... );

END CODE

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