SetConsoleVariable
Code:
void* vCall;
void _cdecl SetConsoleVariable(const char* sVar) {
vCall = (void*)4781200;
_asm {
push 0
push sVar
push 8111088
call vCall
add esp, 0xC
}
}
void* vCall;
void _cdecl SetConsoleVariable(const char* sVar) {
vCall = (void*)4781200;
_asm {
push 0
push sVar
push 8111088
call vCall
add esp, 0xC
}
}
SetConsoleVariable("WalkVel",10000);