HelpReplicating RunConsoleCommand in C++

Posts 1–8 of 8 · Page 1 of 1
Replicating RunConsoleCommand in C++
Yeah just like it says in the title, I need to replicate RunConsoleCommand so I can get around the blocks, preferably as a lua function
Thanks dude i'll look into it
Code:
CreateInterfaceFn engineFactory = Sys_GetFactory("engine.dll");
IVEngineClient* enginePointer;
enginePointer = (IVEngineClient*)engineFactory("VEngineClient015", NULL);
enginePointer->ClientCmd("echo hello");
i think that should work good luck bud
Quote Originally Posted by Azrius View Post
Code:
CreateInterfaceFn engineFactory = Sys_GetFactory("engine.dll");
IVEngineClient* enginePointer;
enginePointer = (IVEngineClient*)engineFactory("VEngineClient015", NULL);
enginePointer->ClientCmd("echo hello");
i think that should work good luck bud
thanks dude, i got it right before i checked the thread again
Quote Originally Posted by Azrius View Post
Code:
CreateInterfaceFn engineFactory = Sys_GetFactory("engine.dll");
IVEngineClient* enginePointer;
enginePointer = (IVEngineClient*)engineFactory("VEngineClient015", NULL);
enginePointer->ClientCmd("echo hello");
i think that should work good luck bud
so people actually need to get spoonfeed on such easy things? woah really nice.
it's also everywhere on valve's wiki
Quote Originally Posted by Kona-chan View Post
so people actually need to get spoonfeed on such easy things? woah really nice.
it's also everywhere on valve's wiki
dont flame me
Quote Originally Posted by Kona-chan View Post
so people actually need to get spoonfeed on such easy things? woah really nice.
it's also everywhere on valve's wiki
ya that's where i figured it out at is console control on the wiki
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us