CrazyboneZ Full Pub Hack V1.0
Hi Guys im Having Some Troubles With My Errors... I Need Help With These Errors:
\Main.cpp(398) : error C2065: 'DrawString' : undeclared identifier
\Main.cpp(426) : error C2065: 'nDrawIndexedPrimitive' : undeclared identifier
Here is codes:
Error 1
Error 2
Thnx All And Please Help 
\Main.cpp(398) : error C2065: 'DrawString' : undeclared identifier
\Main.cpp(426) : error C2065: 'nDrawIndexedPrimitive' : undeclared identifier
Here is codes:
Error 1
Code:
D3DXVECTOR3 Position;
if( WorldToScreen(pDevice, pPlayer, &Position) )
{
DrawString(Position.x, Position.y, 0xFFFF0000, pPlayer->Name, pFont );
}
}
}
}
}
Code:
DWORD hD3D=0;
do {
hD3D = (DWORD)GetModuleHandleA("d3d9.dll");
Sleep(200);
} while(!hD3D);
DWORD adr = FindPattern(hD3D, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx");
If adr Then
memcpy(&vtbl,(void *)(adr+2),4);
pReset = (oReset) DetourFunction((PBYTE)vtbl[RESET] , (PBYTE)myReset );
pPresent = (oPresent) DetourFunction((PBYTE)vtbl[PRESENT] , (PBYTE)myPresent );
pBeginScene = (oBeginScene) DetourFunction((PBYTE)vtbl[BEGINSCENE] , (PBYTE)myBeginScene );
pEndScene = (oEndScene) DetourFunction((PBYTE)vtbl[ENDSCENE] , (PBYTE)myEndScene );
pDrawIndexedPrimitive = (DrawIndexedPrimitive_)DetourFunction((PBYTE)vtbl[82],(PBYTE)nDrawIndexedPrimitive);
_End
CreateThread(NULL, NULL, HACKthread, NULL, NULL, NULL);
return 0;
}



