26.01.2016, 12:19
How to check if a player input letters instead of numbers in dialog box, Is there any function for that? or do I need to make an array then check for it?
for (new i = strlen(inputtext) - 1; i != -1; i--){
if (inputtext[i] >= '0' && inputtext[i] <= '9'){
// if player inputted numbers
continue;
}
else{
// if player inputted not numbers
}
}