08.04.2017, 23:22
pawn Код:
new age;
if(sscanf(inputtext, "d", age)) // checks if integer, or if any text is there.
if(age < min_age_here || age > max_age_here) // if they enter a number above / below.
//alternatively.
if(age >= min_age_here && age <= max_age_here)
{
//if they enter it in between min age / max age
}