public OnPlayerEnterRaceCheckpoint(playerid){if(cp[playerid] == 1){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1380.9194,208.6029,19.4063,1380.9194,208.6029,19.4063,4.0);}if(cp[playerid] == 2){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1525.2328,112.3072,29.6097,1525.2328,112.3072,29.6097,4.0);}if(cp[playerid] == 3){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1664.1776,130.3680,30.7821,1664.1776,130.3680,30.7821,4.0);}if(cp[playerid] == 4){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1883.7911,46.0925,35.1934,1883.7911,46.0925,35.1934,4.0);}if(cp[playerid] == 5){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1845.1770,-185.3363,41.6021,1845.1770,-185.3363,41.6021,4.0);}if(cp[playerid] == 6){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1835.0585,-341.7733,43.6710,1835.0585,-341.7733,43.6710,4.0);}if(cp[playerid] == 7){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1541.6021,-314.6081,7.7382,1541.6021,-314.6081,7.7382,4.0);}if(cp[playerid] == {DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1280.5833,-381.1671,2.5016,1280.5833,-381.1671,2.5016,4.0);}if(cp[playerid] == 9){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1182.7725,-171.1529,40.5933,1182.7725,-171.1529,40.5933,4.0);}if(cp[playerid] == 10){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1298.9723,-81.3920,36.4855,1298.9723,-81.3920,36.4855,4.0);}if(cp[playerid] == 11){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,0,1518.2637,98.1715,29.6059,1518.2637,98.1715,29.6059,4.0);}if(cp[playerid] == 12){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=2;SetPlayerRaceCheckpoint(playerid,1,1559.7302,13.9534,24.1641,177.8661,1559.7302,13.9534,4.0);}if(cp[playerid] == 13){DisablePlayerRaceCheckpoint(playerid);cp[playerid]=0;}return 1;}
cp[ playerid ] = 1;
CMD:enter(playerid, params[13]){if(IsPlayerInRangeOfPoint(playerid, 2.0,1253.7833,167.3158,20.8212)){if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xEB000FFF, \"Kocsiban kell lenned!\");TogglePlayerControllable(playerid, 0);SetTimerEx(\"sec\", 3000, 0, \"i\", playerid);if (cp[playerid] < 0) return SendClientMessage(playerid, COLOR_RED, \"A verseny már elindult!\");SetPlayerRaceCheckpoint(playerid,0,1286.2898,243.5789,19.4120,1286.2898,243.5789,19.4120,4.0);cp[playerid]=1;}return 1;}forward sec(playerid);public sec(playerid){TogglePlayerControllable(playerid, 1);GameTextForPlayer(playerid,\"RAJT!!!\",2000,6);}