20.08.2010, 10:48
Array start with 0, not 1.
So change:
to
Etc.
So change:
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 1.0, TrainJobCheckpoints[1][1], TrainJobCheckpoints[1][2], TrainJobCheckpoints[1][3])){SetPlayerCheckpoint(playerid, TrainJobCheckpoints[2][1], TrainJobCheckpoints[2][2], TrainJobCheckpoints[2][3], 8);}
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 1.0, TrainJobCheckpoints[0][0], TrainJobCheckpoints[0][1], TrainJobCheckpoints[0][2])){SetPlayerCheckpoint(playerid, TrainJobCheckpoints[1][0], TrainJobCheckpoints[1][1], TrainJobCheckpoints[1][2], 8);}