PDA

View Full Version : [Help me]



deejdd
03-22-2008, 05:09 PM
ive got a problem with stamina, when i enter a game and enable the stamina my game freezes and my CPU goes sky high.

[C++]

This is my Second timer and yes i got my timer section right everything works except this 1 :S

case SECONDTIMER:
{
//Stamina // addy=136A0E0 // offset=288 // value=1120403456 //
WritePointerFloat(0x136A0E0, 0x288, 1120403456);

}

break; // end of a case


Buttons:



void CMy18MarchDlg::OnStamON()
{
SetTimer(SECONDTIMER, 1, NULL);
}

void CMy18MarchDlg::OnStamOFF()
{
KillTimer(SECONDTIMER);
}


What am i doing wrong?

Any help is appreciated

deejdd
03-22-2008, 05:30 PM
hehe nvm forgot it since i was so dumb >>>> Float = 100 and not the 1120403456

anyway thanks XD