aimbot.cpp
find this: Code:
void OriginAimbot::draw_player_vecs
next under this add following: Code:
register DWORD color
Code:
switch(cvar.vectorcolor) {
case 0: color = 0xFF1111FF;
break;
case 1: color = 0x1111FFFF;
break;
case 2: color = 0x11FF11FF;
break;
case 3: color = 0xFF11FFFF;
break;
case 4: color = 0xFFFF11FF;
break;
case 5: color = 0xFF0000FF;
break;
case 6: color = 0x0000FFFF;
break;
case 7: color = 0x00FF00FF;
break;
case 8: color = 0xFFFF00FF;
break;
case 9: color = 0xFF00FFFF;
break;
case 10: color = 0xFFFFFFFF;
break;
default: color = 0xFF1111FF;
break;
}
Register cvars
REGISTER_CVAR_INT( vectorcolor, 0);or1, 2, 3, 4, 5, 6, 7, 8, 9, 10
other option is random vec point color Code:
if(cvar.randomvectorcolor){
int a=0;
int max=13;
srand( (unsigned)time( NULL ) ); // init Rand() function
a = rand() % max;
switch(a){
case 0: color = 0xFF1111FF;
break;
case 1: color = 0x1111FFFF;
break;
case 2: color = 0x11FF11FF;
break;
case 3: color = 0xFF11FFFF;
break;
case 4: color = 0xFFFF11FF;
break;
case 5: color = 0xFF0000FF;
break;
case 6: color = 0x0000FFFF;
break;
case 7: color = 0x00FF00FF;
break;
case 8: color = 0xFFFF00FF;
break;
case 9: color = 0xFF00FFFF;
break;
case 10: color = 0xFFFFFFFF;
break;
default: color = 0xFF1111FF;
break;
}
}
cvar.cpp Code:
REGISTER_CVAR_INT( randomvectorcolor, 0);
cvar.h Code:
int randomvectorcolor;