VERY STRANGE!
#9

pawn Код:
stock strtok(const string[], &index,seperator=' ')
{
    new length = strlen(string);
    new offset = index;
    new result[MAX_STRING];
    while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }

    result[index - offset] = EOS;
    if ((index < length) && (string[index] == seperator))
    {
        index++;
    }
    return result;
}
Took from dutils, wich is included trough lethaldudb2....

Got nothing else in gm as strtok...
Reply


Messages In This Thread
VERY STRANGE! - by Zh3r0 - 23.08.2010, 10:43
Re: VERY STRANGE! - by Hiddos - 23.08.2010, 10:54
Re: VERY STRANGE! - by Zh3r0 - 23.08.2010, 11:04
Re: VERY STRANGE! - by Hiddos - 23.08.2010, 11:08
Re: VERY STRANGE! - by Zh3r0 - 23.08.2010, 11:11
Re: VERY STRANGE! - by Hiddos - 23.08.2010, 11:12
Re: VERY STRANGE! - by Zh3r0 - 23.08.2010, 11:15
Re: VERY STRANGE! - by Hiddos - 23.08.2010, 11:22
Re: VERY STRANGE! - by Zh3r0 - 23.08.2010, 11:29
Re: VERY STRANGE! - by XtremePlanet - 23.08.2010, 11:50

Forum Jump:


Users browsing this thread: 2 Guest(s)