if(ESPBoxes) {
DrawBorder(pDevice, Position.x - (15000 / MyaDistance),
Position.y - (35000 / MyaDistance),
50000 / MyaDistance / 6 * 2,
50000 / MyaDistance / 3 * 2,
2, Red);
}

VOID cBase::DrawBorder(INT x, INT y, INT w, INT h, INT px, D3DCOLOR BorderColor, LPDIRECT3DDEVICE9 pDevice)
{
FillRGB(x,(y + h - px), w, px, BorderColor, pDevice);
FillRGB(x, y, px, h, BorderColor, pDevice);
FillRGB(x, y, w, px, BorderColor, pDevice);
FillRGB(x + w - px, y, px, h, BorderColor, pDevice);
}