Keule Cheater Reputation: 0
Joined: 08 Aug 2012 Posts: 25
|
Posted: Wed Feb 12, 2014 8:04 am Post subject: Pls fix this short Code :/ |
|
|
Hello, i have a Script made by DaSpammer for autochanging Trackbar Positions and its working, but now i tried to do for my own and this is the Result...
It does simply -> NOTHING, and i cant get it fixed, so why the Hell it doesn't work?? -.-
Code: |
t4 = createTimer(nil, false); t4.Interval = 100; t4.onTimer = _HydraJ;
lastpos = nil
function hJumperChange(sender) -- properties code by form designer.. :/
if UDF1.hJumper.Checked == 1 then
UDF1.tClearanceA.Position = 7
lastpos = UDF1.tClearanceA.Position;
t4.Enabled = true;
else
lastpos = nil;
t4.Enabled = false;
end
end
function _HydraJ()
if (lastpos == 7) then
UDF1.tClearanceA.Position = UDF1.tClearanceA.Position + 1
if (UDF1.tClearanceA.Position == 37) then lastpos = 37 end
else
UDF1.tClearanceA.Position = UDF1.tClearanceA.Position - 1
if (UDF1.tClearanceA.Position == 7) then lastpos = 7 end
end
end
|
|
|