Wie gesagt der letzte Checkpoint wird nicht "gelöscht" aber alle anderen schon wird jetzt zwar nicht viel bringen aber hier wie es aussieht:
codes:
public OnPlayerEnterCheckpoint(playerid)
{
if(GetPVarInt(playerid, "fs_start"))
{
new cID = GetPVarInt(playerid, "fs_cp");
if(IsPlayerInRangeOfPoint(playerid, 5, fsCPs[cID][fs_x], fsCPs[cID][fs_y], fsCPs[cID][fs_z]))
{
cID++;
if(cID > sizeof(fsCPs))
{
PlayerInfo[playerid][pCarlic] = 1;
}
else
{
SetPVarInt(playerid, "fs_cp", cID);
SetPlayerCheckpoint(playerid, fsCPs[cID][fs_x], fsCPs[cID][fs_y], fsCPs[cID][fs_z], 5);
}
return 1;
}
}
DisablePlayerCheckpoint(playerid);
return 1;
}
ocmd:fahrschule(playerid, params[])
{
new Float:xc, Float:yc, Float:zc, Float:ac;
GetPlayerPos(playerid, xc,yc,zc);
GetPlayerFacingAngle(playerid,ac);
new vID = CreateVehicle(405, xc, yc, zc, ac, 1, 1, -1);
SetPVarInt(playerid, "fs_car", vID);
PutPlayerInVehicle(playerid, vID, 0);
SetPlayerCheckpoint(playerid, fsCPs[0][fs_x], fsCPs[0][fs_y], fsCPs[0][fs_z], 5);
SetPVarInt(playerid, "fs_cp", 0);
SetPVarInt(playerid, "fs_start", 1);
return 1;
}
wenn noch was fehlt bescheid geben