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 


[Help] Visual Basic 6

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oli9452
Cheater
Reputation: 0

Joined: 20 Jul 2007
Posts: 34

PostPosted: Tue Dec 11, 2007 2:36 pm    Post subject: [Help] Visual Basic 6 Reply with quote

I need to know how i can make a trainer which uses only command buttons not command buttons with textboxes near them. I know that this might be hard to understand, but please, i really need help Wink

EDIT: P.S. I already know how to make a trainer..but i need to know how to make the trainers work by only pressing a command button instead of typing numbers in a text box, then pressing the command button.

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Tue Dec 11, 2007 2:43 pm    Post subject: Reply with quote

Lol this is basic stuff

Call ShockwaveFlash1.SetVariable("variable", value)

Goes into your command button

_________________
Back to top
View user's profile Send private message
oli9452
Cheater
Reputation: 0

Joined: 20 Jul 2007
Posts: 34

PostPosted: Tue Dec 11, 2007 2:48 pm    Post subject: Reply with quote

but what do i have to make the variable if i want for example exactly 1000coins?
_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Tue Dec 11, 2007 2:49 pm    Post subject: Reply with quote

Ok, pretend your variable is _root.coins
The code would be:
Code:
Call ShockwaveFlash1.SetVariable("_root.coins", 1000)

_________________
Back to top
View user's profile Send private message
oli9452
Cheater
Reputation: 0

Joined: 20 Jul 2007
Posts: 34

PostPosted: Tue Dec 11, 2007 3:21 pm    Post subject: Reply with quote

Ah..thanks alot mate Wink
_________________
Back to top
View user's profile Send private message
Gameking505
Expert Cheater
Reputation: 0

Joined: 15 Dec 2006
Posts: 116
Location: Your mama's house.

PostPosted: Tue Dec 11, 2007 9:50 pm    Post subject: Reply with quote

Wow. If you can do it with textboxes you should be able to do it with just command buttons.

Unless you just C&P'd from a tutorial...

_________________
(insert clever remark here)
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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