Jump to content

Multi Choice in lua script 1.0.0

   (0 reviews)

1 Screenshot

About This File

--MULTI CHOICE BY SHELL_SCRIPT

HOME = 1

function HOME()
multi = gg.multiChoice({
"CHOICE 1",
"CHOICE 2",
"CHOICE 3",
"CHOICE 4",

},nil,'MULTI CHOICE BY SHELL_SCRIPT')

if multi == nil then else
if multi[1] == true then ch1() end
if multi[2] == true then ch2() end
if multi[3] == true then ch3() end
if multi[4] == true then ch4()
end
end
HOMEDM = -1
end

function ch1()
gg.alert('CHOICE 1')
end

function ch2()
gg.alert('CHOICE 2')
end

function ch3()
gg.alert('CHOICE 3')
end

function ch4()
gg.alert('CHOICE 4')
end


while true do 
  if gg.isVisible(false) then 
   HOMEDM = 1
    gg.setVisible(false) 
  end 
  if HOMEDM == 1 then HOME() end 
 end

 Share


User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.