[ajuda] error 033: array must be indexed (variable "TaxiMission")
#2

pawn Code:
dcmd_missao(playerid, params[])
{
    #pragma unused params
    if(Player[playerid][pJob] != TAXISTA)
        return SendClientMessage(playerid, COLOR_RED, "[Erro] Vocк nгo й um taxista");
    if(!IsPlayerInAnyVehicle(playerid))
        return SendClientMessage(playerid, COLOR_RED, "[Erro] Vocк nгo estб em um Taxi");

    if(TaxiMission[playerid] == 1) // Linha do Erro
    {
        TaxiMission[playerid] = 0; // Linha do Erro
        SendClientMessage(playerid, COLOR_GREY, "Vocк saiu da missгo e pode atender seus clientes agora");
    }
    else if(TaxiMission[playerid] == 0) // Linha do Erro
    {
        TaxiMission[playerid] = 1; // Linha do Erro
        SendClientMessage(playerid, COLOR_GREY, "Vocк entrou na missгo de treinamento, vб atй os CheckPoints");
    }
    return 1;
}
Reply


Messages In This Thread
[ajuda] error 033: array must be indexed (variable "TaxiMission") - by adminlucas - 11.11.2011, 00:29
Re: error 033: array must be indexed (variable "TaxiMission") - by ViniBorn - 11.11.2011, 00:30
Re: error 033: array must be indexed (variable "TaxiMission") - by Mattos - 11.11.2011, 00:32
Re: error 033: array must be indexed (variable "TaxiMission") - by adminlucas - 11.11.2011, 00:35
Re: error 033: array must be indexed (variable "TaxiMission") - by ViniBorn - 11.11.2011, 00:36

Forum Jump:


Users browsing this thread: 1 Guest(s)