[Ajuda] "Array Index of bounds"
#1

Dб-me este erro no seguinte cуdigo:
Code:
if(InArena[playerid] == true){
        format(string, sizeof string, "%d", aKills[playerid]);
        TextDrawSetString(ArenaTD[playerid][3], string);
        format(string, sizeof string, "%d", aDeaths[playerid]);
        TextDrawSetString(ArenaTD[playerid][7], string);
        if(aDeaths[playerid] == 0) format(string,sizeof(string),"%d.00", aKills[playerid]);
        else if(aKills[playerid] != aDeaths[playerid])format(string,sizeof(string),"%.2f",float(aKills[playerid])/float(aDeaths[playerid]));
		else if(aKills[playerid] == aDeaths[playerid])format(string,sizeof(string),"%d", 1);
        TextDrawSetString(ArenaTD[playerid][10], string);
        format(string, sizeof string, "%d:%d", TempoArena/60, TempoArena%60);
        TextDrawSetString(ArenaTD[playerid][13], string);
        format(string, sizeof string, "[%s]", NomesArena[ArenaID]);
        TextDrawSetString(ArenaTD[playerid][14], string);
        TextDrawShowForPlayer(playerid, ArenaTD[playerid][0]);
    }
Reply


Messages In This Thread
"Array Index of bounds" - by VeNuZ_ - 13.09.2014, 14:00
Re: "Array Index of bounds" - by Bruno13 - 13.09.2014, 14:19
Re: "Array Index of bounds" - by Larceny - 13.09.2014, 15:22
Re: "Array Index of bounds" - by VeNuZ_ - 13.09.2014, 15:32
Re: "Array Index of bounds" - by DogeMan - 13.09.2014, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)