[AJUDA] Ajeitar GM
#4

Nгo precisa de IsPlayerConnected(playerid) no OnPlayerCommandText, a nгo ser que esteja sendo usado da seguinte forma.

pawn Код:
OnPlayerCommandText(playerid, "/teste");

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;
}

Troque COLOR_GRAD1 por -1
Reply


Messages In This Thread
[AJUDA] Ajeitar GM - by atsbs - 28.11.2011, 22:05
Re : [AJUDA] Ajeitar GM - by GabrielDias_Invision - 28.11.2011, 22:27
Re: [AJUDA] Ajeitar GM - by atsbs - 28.11.2011, 22:29
Re: [AJUDA] Ajeitar GM - by ViniBorn - 28.11.2011, 22:35
Re: [AJUDA] Ajeitar GM - by atsbs - 28.11.2011, 22:42
Re: [AJUDA] Ajeitar GM - by ViniBorn - 28.11.2011, 22:45
Re: [AJUDA] Ajeitar GM - by atsbs - 28.11.2011, 22:50
Re: [AJUDA] Ajeitar GM - by ViniBorn - 28.11.2011, 23:24
Re: [AJUDA] Ajeitar GM - by atsbs - 28.11.2011, 23:35

Forum Jump:


Users browsing this thread: 3 Guest(s)