Help /advert
#5

as mikkelgutten said Lemme explain better

DELETE THIS FROM YOUR SCRIPT [ THE ONE YOU POSTED]

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


Messages In This Thread
Help /advert - by keller012 - 09.07.2010, 17:02
Re: Help /advert - by dice7 - 09.07.2010, 17:04
Re: Help /advert - by keller012 - 09.07.2010, 19:24
Re: Help /advert - by MikkelGutten - 09.07.2010, 19:31
Re: Help /advert - by Kar - 09.07.2010, 19:36
Re: Help /advert - by MikkelGutten - 09.07.2010, 19:43

Forum Jump:


Users browsing this thread: 2 Guest(s)