Help please

Posts 1–2 of 2 · Page 1 of 1
Help please
while(1)
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
boxes = !boxes;
}


how do i remove the hotkeys evertime i doit i gives me an error ? someone just give me a little tip

Thank you
You miss one },

Code:
while(1) {
    if(GetAsyncKeyState(VK_NUMPAD1)&1) {
          boxes = !boxes;
    }
}
__

If you want to remove your hotkey,

Code:
while(1) {
    boxes = !boxes;
}
Every time he enabels and disabels boxes. I don't think that you want that.

____

I think you want this:

Code:
boxes = true;

While(1) {
    if(boxes) {
       [PTC command for boxes.]
    }
}
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us