03.06.2013, 23:40
Hello all,
For some reason you can enter any age and it does not make you re-enter your age. Am I doing something wrong? Please make me look stupid.
pawn Код:
if(isnull(inputtext) || strval(inputtext) < 18 || strval(inputtext) > 60)
{
SendClientMessage(playerid, COLOR_WHITE, "Your age must be between 18 and 60");
ShowPlayerDialog(playerid, DIALOG_SET_AGE, DIALOG_STYLE_INPUT, "Age", "Please enter an age between 18-60", "Proceed", "Exit");
}