01.08.2016, 20:47
If you are using sscanf, then it's just
Otherwise, something like
//Beaten by fast typers
pawn Код:
if(sscanf(yourstring, "{dddd}")) //fail
pawn Код:
for (new i = 0; i != MAX_PIN_DIGITS; ++i) if(!('0' <= input[i] <= '9')) //fail