Jump to content
  • 0

Pls help with gg.prompt


jetzgt

Question

How to fix this?

local d = gg.prompt({M='input value'},nil,{'number'})
if val == nil then
gg.toast('Nothing Selected')
end
gg.getResults(1710)
gg.editAll(d[1],gg.TYPE_DWORD)
gg.toast('Done')
gg.setVisible(false)
end

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

16 minutes ago, jetzgt said:

How to fix this?

local d = gg.prompt({M='input value'},nil,{'number'})
if val == nil then
gg.toast('Nothing Selected')
end
gg.getResults(1710)
gg.editAll(d[1],gg.TYPE_DWORD)
gg.toast('Done')
gg.setVisible(false)
end

gg.editAll(d.M,gg.TYPE_DWORD)

 

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.