09.01.2016, 21:18
Under OnDialogResponse(playerid, ...):
Ask if you need more help, and don't forget to rep++ me - Regards Noob Programmer Akbaig
Код:
(YOUR_DIALOG_ID): { if(!response) return Kick(playerid); if(response) { new length; //defining a variable length = strlen(inputtext); // storing the length of the inputtext(password) if(strfind(inputtext, "A", false, length)) //checks if the password contains letter "A" at last { // your code e.g Kick(playerid); } else if(strfind(inputtext, "B", false, length)) //checks if the password contains letter "B" at last { // your code e.g Kick(playerid); } else if(strfind(inputtext, "C", false, length)) //checks if the password contains letter "C" at last { // your code e.g Kick(playerid); } //.... so on } }