Setcash
#3

pawn Код:
// At The Bottom
IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
Also about the empty statement
pawn Код:
if(!strlen(tmp) || !strlen(tmp2) || !IsNumeric(tmp2)) return 1;
Reply


Messages In This Thread
Setcash - by misho1 - 04.03.2012, 18:32
Re: Setcash - by Ballu Miaa - 04.03.2012, 18:35
Re: Setcash - by Konstantinos - 04.03.2012, 18:36
Re: Setcash - by FalconX - 04.03.2012, 18:38
Re: Setcash - by misho1 - 04.03.2012, 19:11
Re: Setcash - by FalconX - 04.03.2012, 19:59
Re: Setcash - by misho1 - 04.03.2012, 20:26
Re: Setcash - by misho1 - 05.03.2012, 20:28
Re: Setcash - by Chrillzen - 05.03.2012, 20:57
Re: Setcash - by MadeMan - 08.03.2012, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)