18.08.2013, 09:03
pawn Код:
for(new c=0; c < RaceInfo[x][TotalCP]; c++)
{
format(string, sizeof string, "CP_%d_PosX", c); CPCoords[c][0] = dini_Float(RacePath2(x), string);
format(string, sizeof string, "CP_%d_PosY", c); CPCoords[c][1] = dini_Float(RacePath2(x), string);
format(string, sizeof string, "CP_%d_PosZ", c); CPCoords[c][0] = dini_Float(RacePath2(x), string);
}
CPCoords[c][0]=...
CPCoords[c][1]=...
CPCoords[c][0]=... <- [2]?
Also, in my opinion CPCoords[c][0] should look like this CPCoords[x][c][0]. Reason why I think it should be like that is: for each race there are different checpoint's coordinates. So their variable have to be different, they store different values.
I don't think this makes the bug you are saying, but still mistakes.