K

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

local setVis=gg.

setVisible
local isVis=gg.isVisible
gg.alert("WARNING !!!!\nonly works for car AE86 ")
local showmenu=true
menus={
"Complete tasks ride 5000km [off]",
"Exit"}
cond={0,0}
function exit()
setVis(true)
os.exit()
end

function gsatu()
if cond[1]==0 then
gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("0.11309733987", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0)
revert = gg.getResults(99999, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("90000000000000", gg.TYPE_FLOAT)
menus[1]="5000km [on]"
cond[1]=1
else
revert = gg.getResults(99999, nil, nil, nil, nil, nil, nil, nil, nil)
gg.editAll("0.11309733987", gg.TYPE_FLOAT)
gg.clearResults()
menus[1]="5000km [off]"
cond[1]=0
end
end

while true do
if isVis() == true then
showmenu = true
setVis(false)
end
if showmenu == true then
showmenu = false
pil = gg.choice(menus,nil,"◈ ━━━━━━━ ⸙ CREAT BY : MJ channel ⸙ ━━━━━━━ ◈")
if pil == 1 then
gsatu()
elseif pil == 2 then
os.exit()
end--pil
end
end--end while

You might also like