Release C++ Mw3 SP SendCommandToConsole 1.9.433
#1
Just a little function used to send commands to console:

*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 Happy cry
Me - Updating.
Don't worry if things aren't the way you planned, in the end everything will solve itself...
Reply

#2
SendCommandToConsole( OMA );
Reply

#3
(07-21-2012, 19:48)Yamato Wrote: SendCommandToConsole( OMA , "sucks");

FTFY
[Image: MaEIQ.png]
Reply

#4
(07-21-2012, 20:02)Pozzuh Wrote:
(07-21-2012, 19:48)Yamato Wrote: SendCommandToConsole( OMA , "sucks");

FTFY

Syntax error.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.