Hello, I need help in this part of my script where it is highlighted with #######
brief code summary: the user enters the current money value, and then the script window minimizes and returns to the game where the user will spend or win a sum of money, then when he opens the script window he will ask for the current one again amount where it will filter and display the current values of the money, it will open a new box asking how much it wants to insert and that's it .. in that case I need a code that minimizes the script window and returns to the game only then when reopened the window that appears the dialog box asking for the new value.
Hello, I need help in this part of my script where it is highlighted with
--#######
--
--#######
Code;
function sacard ()
input=gg.prompt({' Digite a quantidade de atual:'},{[1]='0'},{[1]='number'})if input==nilthen
gg.alert('O Diálogo foi cancelado')
MAINMENU ()end
gg.searchNumber(input[1],gg.TYPE_DWORD)
gg.getResults(10)
gg.alert (' Ganhe ou Gaste um pouco de grana ')--###################----####################
input=gg.prompt({' Digite a quantidade de atual:'},{[2]='0'},{[2]='number'})if input==nilthen
gg.alert('O Diálogo foi cancelado')
MAINMENU ()end
gg.refineNumber(input[2],gg.TYPE_DWORD)
gg.getResults(10)
input=gg.prompt({' Digite a quantidade que deseja sacar:'},{[3]='0'},{[3]='number'})if input==nilthen
gg.alert('O Diálogo foi cancelado')
MAINMENU ()end
gg.editAll([3],gg.TYPE_DWORD)end
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.
Question
roboticmind
Hello, I need help in this part of my script where it is highlighted with #######
brief code summary: the user enters the current money value, and then the script window minimizes and returns to the game where the user will spend or win a sum of money, then when he opens the script window he will ask for the current one again amount where it will filter and display the current values of the money, it will open a new box asking how much it wants to insert and that's it .. in that case I need a code that minimizes the script window and returns to the game only then when reopened the window that appears the dialog box asking for the new value.
Hello, I need help in this part of my script where it is highlighted with
--#######
--
--#######
Code;
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.