22.03.2016, 16:11
(
Последний раз редактировалось SyS; 23.03.2016 в 02:16.
)
let x be the variable and you want the players to type a ten digit number between 10 and 20
so assign x=random(20-10+1)+10;
or x=random(11)+10;
Now check this with inputext of of your dialog under ondialogresponse
like
so assign x=random(20-10+1)+10;
or x=random(11)+10;
Now check this with inputext of of your dialog under ondialogresponse
like
Quote:
if(inputext == x) { //sendmessage correct } else { //send wrong message } |