Když tady:
case sfCP19:{
vyhral++;
print("sfCP19");
new c[60];
SetPlayerRaceCheckpoint(playerid,2,-2601.2710,1360.2321,6.7883,-2601.2710,1360.2321,6.7883,5.0);
if(vyhral == 1){
format(c, 60, "Hráč %s skončil na prvom mieste v závode okolo SF.", PlayerName(playerid));
SendClientMessageToAll(FARBA_ZELENA, c);
DisablePlayerCheckpoint(playerid);
DestroyVehicle(azavod);
}
else if(vyhral == 2){
format(c, 60, "Hráč %s skončil na druhom mieste v závode okolo SF.", PlayerName(playerid));
SendClientMessageToAll(FARBA_ZELENA, c);
DisablePlayerCheckpoint(playerid);
DestroyVehicle(azavod);
}
else if(vyhral == 3){
format(c, 60, "Hráč %s skončil na treťom mieste v závode okolo SF.", PlayerName(playerid));
SendClientMessageToAll(FARBA_ZELENA, c);
DisablePlayerCheckpoint(playerid);
DestroyVehicle(azavod);
}
}
vymažeš to:
SetPlayerRaceCheckpoint(playerid,2,-2601.2710,1360.2321,6.7883,-2601.2710,1360.2321,6.7883,5.0);
Tak už to nenastaví další CP a bude konec trasy (cíl).