Just a little function used to send commands to console:
*Assuming you have injected your code into the game!
Example:
CVAR's list for SP:
CVARS's List
Credits:
godly(UC) - CVAR's list.
@Nukem - Teaching me
Me - Updating.
*Assuming you have injected your code into the game!
Code:
void SendCommandToConsole( char* Cmd )
{
DWORD dwCall = 0x004AC6A0;
__asm
{
push Cmd;
push 0;
call dwCall;
add esp, 0x8;
}
}Example:
Code:
SendCommandToConsole("g_speed 600");CVAR's list for SP:
CVARS's List
Credits:
godly(UC) - CVAR's list.
@Nukem - Teaching me

Me - Updating.
Don't worry if things aren't the way you planned, in the end everything will solve itself...



);
![[Image: 30xhrep.png]](http://i48.tinypic.com/30xhrep.png)