Check if string is a number
#3

pawn Code:
new input;
        format(input, sizeof(input), "%i", inputtext);
        if(input < 12 || input > 120)
        {
What's wrong on that format?

It says:

PHP Code:
(407) : error 035argument type mismatch (argument 1)
(
407) : error 035argument type mismatch (argument 1)
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Reply


Messages In This Thread
Check if string is a number - by GiS - 08.01.2011, 19:41
Re: Check if string is a number - by Alex_Valde - 08.01.2011, 19:45
Re: Check if string is a number - by GiS - 08.01.2011, 20:00
Re: Check if string is a number - by Alex_Valde - 08.01.2011, 20:06
Re: Check if string is a number - by GiS - 08.01.2011, 20:09
Re: Check if string is a number - by Alex_Valde - 08.01.2011, 20:11

Forum Jump:


Users browsing this thread: 2 Guest(s)