Posted: Fri Aug 10, 2012 5:28 pm Post subject: Help with Buttons
I'm pretty new to this Trainer thing, but i have made a couple, and already figured out how to add buttons.
My questions are:
If a memory Address was not found, can you make the buttons "gray" or unclickable?
(say i load the trainer before the game, all the buttons should be gray because the trainer did not find the Address)
Can you make the trainer constantly search for the Addresses? So that I can activate the button for a cheat, even before its Address was found.
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
Posted: Fri Aug 10, 2012 5:36 pm Post subject:
I'm not behind a real comp so can't write a full script, but look into timers
Then in the timer use readInteger, if it returns nil instead of a value (nil is not 0) then the address does not exist
To make a button grey set it's enabled property to false _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
I almost got the grey buttons to work. The grey buttons are always grey, and don't "un-grey".
I'm having some trouble understanding what you mean, after all this is all alien to me.
I would really appreciate it if you showed me what you mean.
I uploaded an example trainer of mine, if you could edit to make a sample for each that would be really awesome!
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