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
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
Originally Posted by Azrius 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
Originally Posted by Azrius 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
Originally Posted by Kona-chan 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
Originally Posted by Kona-chan 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