#1

i am trying to learn more from a script i found... can anybody explain this to me?
pawn Код:
new length = strlen(cmdtext);
    while ((idx < length) && (cmdtext[idx] <= ' '))
    {
        idx++;
    }
    new offset = idx;
    new result[64];
    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
    {
        result[idx - offset] = cmdtext[idx];
        idx++;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)