remove variable with input dialog.
#2

inputtext[DIALOG_SELLGOLD]
No no no, inputtext is an array of characters, if I send the amount of 12345 in your dialog, inputtext[0] = 1, inputtext[1] = 2, ..., inputtext[5] is not valid. You would want to replace that inputtext[DIALOG_SELLGOLD] with strval(inputtext). Same applies to inputtext[2], it has to be replaced with strval(inputtext).

Make the same modifications to sell iron too.
Reply


Messages In This Thread
remove variable with input dialog. - by ross8839 - 09.02.2015, 03:40
Re: remove variable with input dialog. - by HazardouS - 09.02.2015, 08:49

Forum Jump:


Users browsing this thread: 1 Guest(s)