ok so i got this from Finish [topblast i think]
Code:
void __cdecl PushToConsole(char* szVal, float value)
{
void* vSetVar = (void*)0x0046F620;
char scom[50];
sprintf(scom,"%s %d",szVal,value);
_asm
{
push scom
call vSetVar
add esp, 4
}
}
PushToConsole("Command here", progressor);
PushToConsole("Command here", control);
if (GetAsyncKeyState(VK_UP)<0)
progressor+=50;
if(GetAsyncKeyState(VK_DOWN)<0)
progressor-=50;
if(GetAsyncKeyState(VK_LEFT)<0)
control+=50;
if(GetAsyncKeyState(VK_RIGHT)<0)
control-=50;
ok so
Code:
PushToConsole("Command here", progressor);
= if (GetAsyncKeyState(VK_UP)<0)
progressor+=50;
???????
help me please
so "Command here" is the offset value????
credits:
Finish