Here is a quick small tutorial of how to use PushToConsole Function
What's PushToConsole Function?
it's an in game function that used to do some visuals effect in the game by calling the function with some of string orders.
How to use?
First create a type definition for the function.
then specify the address that function located
then create a pointer with its function type to start using it
That's all you need, now you can start call the function like that.
etc..
hope it helps
What's PushToConsole Function?
it's an in game function that used to do some visuals effect in the game by calling the function with some of string orders.
How to use?
First create a type definition for the function.
Code:
typedef LTRESULT (__cdecl* tPushToConsole)(const char* Command);
Code:
DWORD dwPushToConsole = BINBase + 0x2CC90;
Code:
pPushToConsole = (tPushToConsole)dwPushToConsole;
Code:
pPushToConsole("WireFrame 1");
pPushToConsole("FogEnable 0");
pPushToConsole("DrawFlat 1");
hope it helps