CF Console
Hey, I rarely see any working src codes around here.
Here is a simple src for console, you can do things such as white boxes, skeleton, etc.. like this;
Credits to fatboy88 for the original concept, me for updating addresses.
Here is a simple src for console, you can do things such as white boxes, skeleton, etc.. like this;
Code:
SetConsoleVariable("ModelDebug_DrawBoxes 1");
Code:
typedef void (__cdecl *lpSetConsoleVariable)(char* szVal);
lpSetConsoleVariable SetConsoleVariable;
DWORD CShellBase = (DWORD)GetModuleHandle("CShell.dll");
PDWORD iClient = ( PDWORD )( CShellBase + 0x228110 );// CShell.dll+0x228110 as of today May 6th.
DWORD Console = *( PDWORD )( *iClient + 0x1F8 );
SetConsoleVariable = (lpSetConsoleVariable)(Console);