[HELP]
#2

pawn Код:
stock IsNumeric(const string[])
{
    if(!string[0]) return 0;
    new i=0;
    if(string[0] == '+' || string[0] == '-') i++;
    while(string[i])
    {
        if (string[i] < '0' || string[i] > '9')
        {
            return 0;
        }
        i++;
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] - by [MKD]Max - 30.07.2011, 14:47
Re: [HELP] - by MadeMan - 30.07.2011, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)