[Ajuda] Must be assigned to an array
#1

Estou criando um sistema e nгo consigo resolver o seguinte erro:
Код:
error: 006: must be assigned to an array
Linha:
pawn Код:
PlayerInfo[playerid][pJailTime] = Tempo;
Codigo inteiro:
pawn Код:
new Adminca[128], Motivo[128], Tempo[128];
    new string3[128];
    format(string3, sizeof(string3), "Cadeia/%s.ini", PlayerName(playerid));
    if(fexist(string3)){
    Adminca = DOF2_GetString(string3, "Admin");
    Motivo = DOF2_GetString(string3, "Motivo");
    Tempo = DOF2_GetString(string3, "Tempo");
    PlayerInfo[playerid][pJailed] = 9;
    strmid(PlayerInfo[playerid][pJailTime], DOF2_GetString(string3,"Tempo"), 0, strlen(DOF2_GetString(string3,"Tempo * 60")), 255);
    format(gstring, sizeof(gstring), "Vocк foi agendado pelo admin:%s pelo motivo %s por %s segundos.", Adminca, Motivo, Tempo);
    SendClientMessage(playerid, COLOR_YELLOW, gstring);
    }else{SendClientMessage(playerid,COLOR_LIGHTRED, "FAILLLLL");}
Obrigado
Reply


Messages In This Thread
Must be assigned to an array - by Gabriel10101 - 17.07.2014, 22:27
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:32
Re: Must be assigned to an array - by PT - 17.07.2014, 22:39
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:40
Re: Must be assigned to an array - by MultiKill - 17.07.2014, 22:44
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:45
Re: Must be assigned to an array - by MultiKill - 17.07.2014, 22:46
Re: Must be assigned to an array - by Gabriel10101 - 17.07.2014, 23:09
Re: Must be assigned to an array - by PT - 18.07.2014, 00:19
Re: Must be assigned to an array - by Gabriel10101 - 18.07.2014, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)