rog9001 Expert Cheater
Reputation: 2
Joined: 22 Dec 2015 Posts: 214 Location: Jupiter
|
Posted: Sat Mar 12, 2016 7:04 am Post subject: How to use Trackbar? |
|
|
I was thinking of adding a amount changer to my trainer with the track bar but don't know how to use it sadly. Would this type of script be possible for the track bar or would it not work?
Code: |
function CETrackBar1Change(sender)
if (trackBar_getState(CETrainer.CETrackBar1) == 0) then
autoAssemble([[
//nothing happens
]])
if (trackBar_getState(CETrainer.CETrackBar1) == 1) then
autoAssemble([[
//adds 1000
]])
if (trackBar_getState(CETrainer.CETrackBar1) == 2) then
autoAssemble([[
//adds 2000
]])
if (trackBar_getState(CETrainer.CETrackBar1) == 3) then
autoAssemble([[
//adds 3000
]])
end
end
|
would the above work for a track bar if not could you please help me or tell me if it can or can not be used in this way.
|
|