public OnPlayerEnterCheckpoint() { switch(spirki) { case 1: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2074.544189, 1648.030151, 9.599095, 3); } case 2: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2155.130127, 2179.311523, 9.604636, 3); } } return 0; }