How to code a timer in visual C++ 6.0
Yeah I'm having trouble with precisely that. I made a stamina hack just now and i put it on a "for" loop but it took up 50% of my cpu and lagged the server along with my internet connection. Help?
private: System::Void timer1_Tick(System::Object * sender, System::EventArgs * e)
{
if( WarRockRuns( ) )
{
if( vars.Stamina )
{
int Staminavalue = 1120403456;
data_process( ( void* )ADDR_STAMINA, &Staminavalue, sizeof( int ) );
}
}
}
vars.stamina = !vars.stamina;
