Client.cpp find this:
Code:
void drawPlayerEsp
somewhere in body add following:
Code:
switch(cvar.box)
{
case 1:
gDrawBoxAtScreenXY(x,y,r,g,b,a * cvar.esp_trans,boxradius);
break;
case 2:
gDrawBoxAtScreenXY(x,y,r,g,b,a * cvar.esp_trans,10);
break;
}
Register your cvars (i use box 2!)
就以这个例子给我解说下。.多谢!!