Posted: Sat Mar 05, 2016 9:39 am Post subject: I dont know how this would be done. please help!
Ok so I am making a trainer and have a few cheats which are "Unstable" either they will work in the current session or they don't and what I want to do is have a button and after its pressed the unstable cheat checkboxes will appear or lets say a panel above the checkboxes will disappear and reveal. Something like with a message:
Code:
function GunHackBoxChange(sender)
if (checkbox_getState(CETrainer.GunHackBox) == 1) then
showMessage('Cheat is Active')
else
if (checkbox_getState(CETrainer.GunHackBox) == 0) then
showMessage('Cheat is Inactive')
Define "unstable". Does an AoB scan fail? Does it complete but it has no effect on the game?
If it's the first one, then it's pretty easy to fix since the AOBScan(...) function returns nil if it can't find the AoB. If that is nil, then just toggle the Visible property of the control in question (i.e. checkbox).
If it's the second one, then you need to find some way to discern if it did activate correctly and make actions based on that.
Dumb question, but why not always show the checkboxes? Maybe the users want to toggle the cheats on and off. _________________
I don't know where I'm going, but I'll figure it out when I get there.
ParkourPenguin I am making this trainer for a group I made on FB and why I want it to be hidden and after pressing a button being shown is so people don't start telling me sh*t like the cheat crashes the game or the cheat doesn't work or the cheat works in reverse (The cheat is Infinite health and it was hard to make sins the health instruction was for the player and enemy... note: no pointers could be found for health). So I am looking for a way to make a button do: When "ShowUnstableButton" is pressed remove "LockPanel". Or: When "ShowUnstableButton" is pressed make "Infinite Health" visible.
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