Bomb Flag Concept

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

Bomb Flag Concept

楼层直达
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看楼主 使用道具 楼主   发表于: 2007-07-05 0
Well well this isnt anything big, just a bomb flag that draws a stand and box with printing Bomb or if ist planted
it draws "Planted" and has the stand and shit. This can be improved this is just something i did whilst bored.
Uses entity ESP so obviously credit OGC and shizzit.

Code:
void CESP::BombFlag()
{
if(cvar.bflag)
{
cl_entity_s *me = getyourself();
for(int i=1; i<screeninfo.iHeight; i++)
{
cl_entity_s *ent = getentbyindex(loopme)
if(ent && (ent->curstate.messagenum+10 > me->curstate.messagenum) && ent->model && ent->model->name)
{
float tmp // array of 2
char mdl // array of 64
char *wpn// NULL it

strncpy(mdl, ent->model->name, 64);
wpn = mdl;

if(wpn && CalcScreen(ent->origin, tmp) && strstr(wpn, "backpack"))
{
FillArea((int)tmp[0],(int)tmp[1]-125,5,126,255,255,128,255); // Flag stand
FillArea((int)tmp[0]-45,(int)tmp[1]-135,100,40,0,0,0,140); // Flag box
F_LINKS.Print((int)tmp[0]-10, (int)tmp[1]-122, 255, 255, 255,FL_OUTLINE, "Bomb", wpn); // Printing
ent->render red = 100;
ent->render blue = 255;
ent->render green = 160;
ent->render size = 200;
ent->render type = kRenderFxGlowShell;
}

if(wpn && CalcScreen(ent->origin, tmp) && strstr(wpn, "c4"))
{
FillArea((int)tmp[0],(int)tmp[1]-125,5,126,255,255,128,255); // Flag stand
FillArea((int)tmp[0]-45,(int)tmp[1]-135,100,40,0,0,0,140); // Flag box
F_LINKS.Print((int)tmp[0]-14, (int)tmp[1]-122, 255, 255, 255,FL_OUTLINE, "Planted", wpn); // Printing
ent->render red = 255;
ent->render blue = 0;
ent->render green = 0;
ent->render size = 200;
ent->render type = kRenderFxGlowShell;
}
}
else if(!ent)
break;
}
}
}
密码被盗,请联系cscheat取回
« 返回列表
发帖 回复