revised GaitSequence esp func..

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

revised GaitSequence esp func..

楼层直达
作弊辅导员_h

ZxID:1019634

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

My newly revised GaitSequence esp func.. creds to boecke and RedGhost.

Globals...
//CStrike Sequence Info
int Cstrike_SequenceInfo
[] = {
    
0,0,1,2,3,4,5,5,6,
6
};

enum
{
    
SEQUENCE_STANDING = 0
,
    
SEQUENCE_CROUCHING = 1
,
    
SEQUENCE_WALKING = 2
,
    
SEQUENCE_RUNNING = 3
,
    
SEQUENCE_CROUCH_RUNNING = 4
,
    
SEQUENCE_JUMPING = 5
,
    
SEQUENCE_SWIMMING =
6
};

char* gsESP[] = { "Standing", "Crouching", "Walking", "Running", "CrouchRunning", "Jumping!", "Swimming"
};

Anywhere..

void GaitSequenceEsp()
     {
        
float drawhere[2
];
        
int espr, espg, espb
;
        
char nbuf[1024
];
        
cl_entity_t *ent, *pLocal = pEngfuncs->GetLocalPlayer
();
        
hud_player_info_t pinfo
;

        for(
int i = 0; i < 33; i
++)
        {
            
int atype = Cstrike_SequenceInfo[ent->curstate.gaitsequence
];

            if(
i == pLocal->index
)
                continue;

            
cl_entity_s *ent = pEngfuncs->GetEntityByIndex(i
);
            
pEngfuncs->pfnGetPlayerInfo(i, &pinfo
);

            if(
ent != NULL && bIsValidEnt(ent
))
            {
                
CalcScreen(ent->origin, drawhere
);

                
int namelen
;
                
namelen = strlen(nbuf
);

                
sprintf(nbuf, "%s", pinfo.name
);

                if(
strstr(pinfo.model, "arctic") || strstr(pinfo.model, "guerilla") || strstr(pinfo.model, "leet") || strstr(pinfo.model, "terror"
))
                {
                    
espr = 255
;
                    
espg = 0
;
                    
espb = 0
;
                }
                else if(
strstr(pinfo.model, "sas") || strstr(pinfo.model, "gign") || strstr(pinfo.model, "gsg9") || strstr(pinfo.model, "urban") || strstr(pinfo.model, "vip"
))
                {
                    
espr = 0
;
                    
espg = 0
;
                    
espb = 255
;
                }    

                
HUD_DrawString(drawhere[0]-namelen * 2, drawhere[1] - 140, espr, espg, espb, "-%s-", gsESP[atype
]);
            }    
        }
     }

Call in HUD_Redraw or every fifth viewport.

Not tested.

密码被盗,请联系cscheat取回
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看该作者 板凳   发表于: 2007-07-05 0

My newly revised GaitSequence esp func.. creds to boecke and RedGhost.

Globals...
//CStrike Sequence Info
int Cstrike_SequenceInfo
[] = {
    
0,0,1,2,3,4,5,5,6,
6
};

enum
{
    
SEQUENCE_STANDING = 0
,
    
SEQUENCE_CROUCHING = 1
,
    
SEQUENCE_WALKING = 2
,
    
SEQUENCE_RUNNING = 3
,
    
SEQUENCE_CROUCH_RUNNING = 4
,
    
SEQUENCE_JUMPING = 5
,
    
SEQUENCE_SWIMMING =
6
};

char* gsESP[] = { "Standing", "Crouching", "Walking", "Running", "CrouchRunning", "Jumping!", "Swimming"
};

 

 

Anywhere..

 

void GaitSequenceEsp()
     {
        
float drawhere[2
];
        
int espr, espg, espb
;
        
char nbuf[1024
];
        
cl_entity_t *ent, *pLocal = pEngfuncs->GetLocalPlayer
();
        
hud_player_info_t pinfo
;

        for(
int i = 0; i < 33; i
++)
        {
            
int atype = Cstrike_SequenceInfo[ent->curstate.gaitsequence
];

            if(
i == pLocal->index
)
                continue;

            
cl_entity_s *ent = pEngfuncs->GetEntityByIndex(i
);
            
pEngfuncs->pfnGetPlayerInfo(i, &pinfo
);

            if(
ent != NULL && bIsValidEnt(ent
))
            {
                
CalcScreen(ent->origin, drawhere
);

                
int namelen
;
                
namelen = strlen(nbuf
);

                
sprintf(nbuf, "%s", pinfo.name
);

                if(
strstr(pinfo.model, "arctic") || strstr(pinfo.model, "guerilla") || strstr(pinfo.model, "leet") || strstr(pinfo.model, "terror"
))
                {
                    
espr = 255
;
                    
espg = 0
;
                    
espb = 0
;
                }
                else if(
strstr(pinfo.model, "sas") || strstr(pinfo.model, "gign") || strstr(pinfo.model, "gsg9") || strstr(pinfo.model, "urban") || strstr(pinfo.model, "vip"
))
                {
                    
espr = 0
;
                    
espg = 0
;
                    
espb = 255
;
                }    

                
HUD_DrawString(drawhere[0]-namelen * 2, drawhere[1] - 140, espr, espg, espb, "-%s-", gsESP[atype
]);
            }    
        }
     }

Call in HUD_Redraw or every fifth viewport.

Not tested.

作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看该作者 沙发   发表于: 2007-07-05 0

My newly revised GaitSequence esp func.. creds to boecke and RedGhost.

Globals...
//CStrike Sequence Info
int Cstrike_SequenceInfo
[] = {
    
0,0,1,2,3,4,5,5,6,
6
};

enum
{
    
SEQUENCE_STANDING = 0
,
    
SEQUENCE_CROUCHING = 1
,
    
SEQUENCE_WALKING = 2
,
    
SEQUENCE_RUNNING = 3
,
    
SEQUENCE_CROUCH_RUNNING = 4
,
    
SEQUENCE_JUMPING = 5
,
    
SEQUENCE_SWIMMING =
6
};

char* gsESP[] = { "Standing", "Crouching", "Walking", "Running", "CrouchRunning", "Jumping!", "Swimming"
};

 

 

Anywhere..

 

void GaitSequenceEsp()
     {
        
float drawhere[2
];
        
int espr, espg, espb
;
        
char nbuf[1024
];
        
cl_entity_t *ent, *pLocal = pEngfuncs->GetLocalPlayer
();
        
hud_player_info_t pinfo
;

        for(
int i = 0; i < 33; i
++)
        {
            
int atype = Cstrike_SequenceInfo[ent->curstate.gaitsequence
];

            if(
i == pLocal->index
)
                continue;

            
cl_entity_s *ent = pEngfuncs->GetEntityByIndex(i
);
            
pEngfuncs->pfnGetPlayerInfo(i, &pinfo
);

            if(
ent != NULL && bIsValidEnt(ent
))
            {
                
CalcScreen(ent->origin, drawhere
);

                
int namelen
;
                
namelen = strlen(nbuf
);

                
sprintf(nbuf, "%s", pinfo.name
);

                if(
strstr(pinfo.model, "arctic") || strstr(pinfo.model, "guerilla") || strstr(pinfo.model, "leet") || strstr(pinfo.model, "terror"
))
                {
                    
espr = 255
;
                    
espg = 0
;
                    
espb = 0
;
                }
                else if(
strstr(pinfo.model, "sas") || strstr(pinfo.model, "gign") || strstr(pinfo.model, "gsg9") || strstr(pinfo.model, "urban") || strstr(pinfo.model, "vip"
))
                {
                    
espr = 0
;
                    
espg = 0
;
                    
espb = 255
;
                }    

                
HUD_DrawString(drawhere[0]-namelen * 2, drawhere[1] - 140, espr, espg, espb, "-%s-", gsESP[atype
]);
            }    
        }
     }

Call in HUD_Redraw or every fifth viewport.

Not tested.

« 返回列表
发帖 回复