Best way to detect if players entered text is only digits?
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
If you are using sscanf, then it's just
pawn Код:
if(sscanf(yourstring, "{dddd}")) //fail
That won't work because those numbers then need to be separated by spaces and in addition can be longer than one character.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)