[Ajuda] Erros Ao Compilar -BASICO
#4

pawn Код:
//Calback OnPlayerText

new tmp[128];


//fim do gm
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
[Ajuda] Erros Ao Compilar -BASICO - by shadauer - 29.12.2011, 11:42
Re: [Ajuda] Erros Ao Compilar -BASICO - by shadauer - 29.12.2011, 11:46
Re: [Ajuda] Erros Ao Compilar -BASICO - by shadauer - 29.12.2011, 11:58
Re: [Ajuda] Erros Ao Compilar -BASICO - by ReDKiiL - 29.12.2011, 12:23
Re: [Ajuda] Erros Ao Compilar -BASICO - by shadauer - 29.12.2011, 12:28
Re: [Ajuda] Erros Ao Compilar -BASICO - by RebeloX - 29.12.2011, 12:50

Forum Jump:


Users browsing this thread: 1 Guest(s)