Hello, yesterday i was coding... all gone perfect...
now i open it and if i want to compile i get this ;
1>c:\users\gebruiker\desktop\new hook\hacks.h(4) : error C2059: syntax error : 'if'
1>c:\users\gebruiker\desktop\new hook\hacks.h(4) : error C2143: syntax error : missing ')' before ';'
1>c:\users\gebruiker\desktop\new hook\hacks.h(5) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\gebruiker\desktop\new hook\base.cpp(31) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\gebruiker\desktop\new hook\base.cpp(63) : warning C4390: ';' : empty controlled statement found; is this the intent?
1>c:\users\gebruiker\desktop\new hook\base.cpp(64) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(65) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(66) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(67) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(68) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(69) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(70) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(71) : error C3861: 'GenerateTexture': identifier not found
1>c:\users\gebruiker\desktop\new hook\base.cpp(72) : error C3861: 'GenerateTexture': identifier not found
Here are the source codes ;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
#include "Addies.h"
LPVOID pHacks(char *game);
if (GetModuleHandle(game);
{
//Codes hier
if(c_slot5){ *(long*)(ServerPtr+OFS_5SLOT) = 1; }
if(c_slot6){ *(long*)(ServerPtr+OFS_6SLOT) = 1; }
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
if(Color);
{
GenerateTexture(pDevice, &White, WHITE2);
GenerateTexture(pDevice, &Red, RED2);
GenerateTexture(pDevice, &Green, GREEN2);
GenerateTexture(pDevice, &Blue, BLUE2);
GenerateTexture(pDevice, &Black, BLACK2);
GenerateTexture(pDevice, &Purple, PURPLE2);
GenerateTexture(pDevice, &Grey, GREY2);
GenerateTexture(pDevice, &Yellow, YELLOW2);
GenerateTexture(pDevice, &Orange, ORANGE2);
Color = false;
}