Omg, sorry... This is so fuckt up xD I thought lets watch mpgh and look what is going on here xD and then I saw this...
First of all, use only c++..... not c++ and a other language in one source....
Here is your code:
Code:
DWORD WINAPI HACKthread( LPVOID param ){
while(True){
if a[3]==1 Then
Change=true;
Else
Change=false;
_End
if a[4]==1 Then
reload=true;
Else
reload=false;
_End
if a[5]==1 Then
singlefire=true;
Else
singlefire=false;
_End
if a[7]==1 Then
gunrange=true;
Else
gunrange=false;
_End
if a[8]==1 Then
ShootsTroughWalls=true;
Else
ShootsTroughWalls=false;
_End
if a[9]==1 Then
onehit=true;
Else
onehit=false;
_End
Code:
while(True){ //Good
But then:
Code:
if a[3]==1 Then
Change=true;
Else
Why xD???
Use this:
Code:
if( a[3] == 1 ) {
Change = true;
} else {
Change = false;
}
Or, even bether:
user: GetAsyncKeyState() , if the key is prest:
Change = !Change;
Sho, 2 lines xD and you want to do this in 5 xD??? It can be 2 lines!!! If you want to make it a enable and disable "menu"
And what is Change btw? I think a bool... So make it a god danmt bool! Its not PHP xD Omfg xD
And WTF is a ??? Dude, its C++ NOT PHP!
I think int a[100]; ???
What do you want to do with a? and how many items van be in a? 100?
Now you can fix the code in noob style:
Code:
bool Change = false;
int a[100] = {0}; //???? What is in a??? What is a??? an array with???
if ( a[3] == 1 ) {
Change=true;
} else {
Change=false;
}
And use a switch... if you want to use it your way xD And make a somting... and give it a value...