SOURCE: void DrawRect(LPDIRECT3DDEVICE9 pDevice, int x, int y, int h, int w, DWORD Color) { D3DRECT rec; rec.x1 = x; rec.x2 = x + w; rec.y1 = y; rec.y2 = y + h; pDevice->Clear(1, &rec, D3DCLEAR_TARGET, Color, 0, 0); } void BoowOw(LPDIRECT3DDEVICE9 pDevice, D3DCOLOR Color) { D3DVIEWPORT9 Viewport; pDevice->GetViewport(&Viewport); DWORD ScreenX = Viewport.Width / 2; DWORD ScreenY = Viewport.Height / 2; DrawRect(pDevice, ScreenX + 5, ScreenY - 1, 2, 20, Color); DrawRect(pDevice, ScreenX - 25, ScreenY - 1, 2, 20, Color); DrawRect(pDevice, ScreenX - 1, ScreenY + 5, 20, 2, Color); DrawRect(pDevice, ScreenX - 1, ScreenY - 25, 20, 2, Color); } -------------------------------------------------------------------------------------------------------------------------------------- BY.TeamCodersX THANKS US CREDITS