28.01.2015, 21:15
you must add return 1; under every checkpoints like :
pawn Код:
if(checkpointid == cp1)
{
DestroyDynamicCP(cp1);
RemovePlayerMapIcon(playerid, i1);
i2 = SetPlayerMapIcon(playerid, 1, 2380.4260,-1366.8895,24.0000, 0, COLOR_RED, MAPICON_GLOBAL);
SendClientMessage(playerid, COLOR_ORANGE, "Go to the next checkpoint");
cp2 = CreateDynamicCP(2380.4260,-1366.8895,24.0000,3, -1, -1, playerid, 100.0);
return 1; // here
}