Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Script engine sleep() not working

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
helmiex
How do I cheat?
Reputation: 0

Joined: 15 Mar 2011
Posts: 3

PostPosted: Tue Mar 15, 2011 11:18 pm    Post subject: Script engine sleep() not working Reply with quote

i've been trying to put delay function in my script but not working did i miss something here Sad

This is my address 00D03FC4 and the value is 95 i want change to 100 with delay in 5 second. But when pressed inject Into current process and execute nothing happen Sad

Code:

#define addresstochange 0x00D03FC4
int nValue = *(int*)addresstochange;
if(nValue < 100 ) {
     sleep(5000)
    *(int*)addresstochange = 100;
}
 
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites