Jump to content
  • 0

Can you help me make password with seekbar?


5G_Controller

Question

1 answer to this question

Recommended Posts

local gg=gg
password=1839
local x=gg.prompt
numa=x({'1[0; 9]','2[0; 9]','3[0; 9]','4[0; 9]'},nil,{'number','number','number','number'})
if numa==nil then os.exit() end
num=(numa[1]*1000)+(numa[2]*100)+(numa[3]*10)+numa[4]
if password==num
then gg.alert('true')
else gg.alert('false') os.exit()
end

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.