Client.cpp find this:
Code:
void drawPlayerEsp
somewhere in body add following:
Code:
if (cvar.gaitsequence == 1)
{
DrawHudStringCenter(x,y,color->r,color->g,color->b,"GS: %i",vPlayers[ax].getEnt()->curstate.gaitsequence);
y += ystep;
}
if (cvar.gaitsequence == 2)
{
char* g1 = "Standing";
char* g2 = "Ducking";
char* g3 = "Walking";
char* g4 = "Running";
char* g5 = "Duck-Walk";
char* g6 = "Jumping";
char* gSequence;
switch (vPlayers[ax].getEnt()->curstate.gaitsequence)
{
case 1:
gSequence = g1;
break;
case 2:
gSequence = g2;
break;
case 3:
gSequence = g3;
break;
case 4:
gSequence = g4;
break;
case 5:
gSequence = g5;
break;
case 6:
gSequence = g6;
break;
default:
gSequence = g1;
break;
}
DrawHudStringCenter(x,y,color->r,color->g,color->b,format_string,gSequence);
y += ystep;
}
Register your cvars !
REGISTER_CVAR_INT( gaitsequence ,2)
Credits: G-D forum coders