[HELP] /car
#2

Add This Somewhere:
pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Reply


Messages In This Thread
[HELP] /car - by goldenpower - 31.07.2014, 10:20
Re: [HELP] /car - by GeekSiMo - 31.07.2014, 10:51
Re: [HELP] /car - by goldenpower - 31.07.2014, 11:21
Re: [HELP] /car - by GeekSiMo - 31.07.2014, 11:54
Re: [HELP] /car - by goldenpower - 31.07.2014, 12:01
Re: [HELP] /car - by GeekSiMo - 31.07.2014, 13:09

Forum Jump:


Users browsing this thread: 2 Guest(s)