Hey, I'm receiving a send error report when trying to render my menu...
Can someone help me?
Class:
Code:
void RenderMenu(LPDIRECT3DDEVICE9 pDevice);
Code:
Code:
void MyMenu::RenderMenu(LPDIRECT3DDEVICE9 pDevice) {
FillRGB_A(3, 3, 186, numtotal * 25 + 23, Black, pDevice);
DrawBorder_A(1, 1, 190, 25, 2, White, pDevice);
DrawBorder_A(1, 1, 190, (numtotal + 1) * 25 + 2, 2, White, pDevice);
WriteText_A(pDevice, 15, 5, White, "CrossFire by Darkratos");
if(numtotal > 0){
for(int i = 0; i < numtotal; i++) {
if(*MENU[i].var) {
WriteText_A(pDevice, 95 - (getTextWidth(MENU[i].item) / 2), 30, MENU[i].colorON, MENU[i].item);
}else{
WriteText_A(pDevice, 95 - (getTextWidth(MENU[i].item) / 2), 30, MENU[i].colorOFF, MENU[i].item);
}
}
}
}
Am I missing something?
If needed, I'll send more code.
Thanks