Oke i got some erros with my source??
Thank you.
Code:
 
#include <windows.h>
#include <iostream>



void __cdecl PushToConsole(char* szVal ) {
	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
	if( dwCShell != NULL )
	{
		DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
		_asm
		{
			push szVal;
			call CONoff;
			add esp, 4;
		}
	}
}


DWORD WINAPI Paulsag(LPVOID) {
	while(GetModuleHandleA("CShell.dll") == NULL ) {
	Sleep(100); 
}

void main()
{
while(true)
{
PushToConsole("ModelDebug_DrawBoxes 1");
PushToConsole("DrawFlat 0");
PushToConsole("DrawSky 0");
PushToConsole("FogEnable 0" );
PushToConsole("ScreenGlowEnable 1");
Sleep(100);
}
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		CreateThread(NULL, NULL,Paulsag, NULL, NULL, NULL);
	}
	return TRUE;
}