20.08.2016, 15:40
here it is
Код:
if(dialogid == 1003) { new strings[300]; if(strcmp(inputtext, randomzznr, true) == 0)//; hi { SendClientMessage(playerid, -1,"You've broken into the biz"); return 1; } } if(dialogid == 1002) { new strings[300]; if(strcmp(inputtext, randomzznr, true) == 0)//s if the inputtext returns the word; hi { randomstr(randomzznr); format(strings,sizeof(strings),"---Step 3---\nWrite The following in order to continue\n\n%s",randomzznr); ShowPlayerDialog(playerid,1003,DIALOG_STYLE_INPUT,"testing",strings,"Continue",""); return 1; } } if(dialogid == 1001) { new strings[300]; if(strcmp(inputtext, randomzznr, true) == 0)// Checks if the inputtext returns the word; hi { randomstr(randomzznr); format(strings,sizeof(strings),"---Step 2---\nWrite The following in order to continue\n\n%s",randomzznr); ShowPlayerDialog(playerid,1002,DIALOG_STYLE_INPUT,"testing",strings,"Continue",""); return 1; } }