How to add multiple functions to your auto-on hack!
This is basically a tutorial from CoderNever's tutorial on adding more functions.
The guide is here - http://www.mpgh.net/forum/207-combat...arms-hack.html
Here is your source if you've just C & P'ed (Not recommended)
Now the bit we will be changing is this bit
To add another function such as No Fog, all you need to do it press enter to go down a line and add the next function
For example
And for a third feature
And so on
Credits
- ExileD
- Topblast
- CoderNever
Have fun coding!
- ToxinJR
The guide is here - http://www.mpgh.net/forum/207-combat...arms-hack.html
Here is your source if you've just C & P'ed (Not recommended)
Code:
#include <windows.h>
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1");
}
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
Code:
{
PushToConsole("SkelModelStencil 1");
}
}
For example
Code:
{
PushToConsole("SkelModelStencil 1");
PushToConsole("FogEnable 1" );
}
}
Code:
{
PushToConsole("SkelModelStencil 1");
PushToConsole("FogEnable 1" );
PushToConsole("WeaponSway 0.000000" );
}
}
Credits
- ExileD
- Topblast
- CoderNever
Have fun coding!
- ToxinJR




+ thanked when i get on my pc 