and try what i did, you create a variable every time you have to enter the CP, and if it has a certain value set by you to go its CP, I hope you understand what I meant
PHP код:
if(CP[playerid] == 300)//Exam_01
{
DisablePlayerRaceCheckpoint(playerid);
CP[playerid] = 301;
SetPlayerRaceCheckpoint(playerid, 0, 920.8195,-1588.7004,13.1235, 897.0294,-1570.6616,13.1315, 4.0);
GameTextForPlayer(playerid,"~h~~r~1/23",1500,1);
}
else if(CP[playerid] == 301)//Exam_02
{
DisablePlayerRaceCheckpoint(playerid);
CP[playerid] = 302;
SetPlayerRaceCheckpoint(playerid, 0, 897.0294,-1570.6616,13.1315, 847.8700,-1600.5890,13.1316, 4.0);
GameTextForPlayer(playerid,"~h~~r~1/23",1500,1);
}