Guten Morgen
Ich habe ein Problem:
Ich versuche grade eine kleine Checkpoint-kurs zu machen aber ich bekomme es nicht hin.
Komme immer nur in den 2Checkpoint rein und dann passiert nichts.
Bräuchte dringend Hilfe:
Code:
Code
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid,1430.5883,-1735.9539,13.0885,4);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
IsPlayerInCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1430.5883,-1735.9539,13.0885,4);
IsPlayerInCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1535.0945,-1668.1747,13.0868,4);
IsPlayerInCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1488.4778,-1588.9446,13.0875,4);
IsPlayerInCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1424.7736,-1672.6342,13.1667,4);
IsPlayerInCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1453.7714,-1737.3793,13.1674,4);
return 1;
public OnPlayerLeaveCheckpoint(playerid)
{
SetPlayerCheckpoint(playerid,1430.5883,-1735.9539,13.0885,4);
IsPlayerInCheckpoint(playerid);
SendClientMessage(playerid,rot,"2punkt");
SetPlayerCheckpoint(playerid,1535.0945,-1668.1747,13.0868,4);
IsPlayerInCheckpoint(playerid);
SendClientMessage(playerid,rot,"Nächster Punkt");
SetPlayerCheckpoint(playerid,1488.4778,-1588.9446,13.0875,4);
IsPlayerInCheckpoint(playerid);
SendClientMessage(playerid,rot,"nächster punkt");
SetPlayerCheckpoint(playerid,1424.7736,-1672.6342,13.1667,4);
IsPlayerInCheckpoint(playerid);
SendClientMessage(playerid,rot,"zum letzten punkt");
SetPlayerCheckpoint(playerid,1453.7714,-1737.3793,13.1674,4);
IsPlayerInCheckpoint(playerid);
return 1;
}
Alles anzeigen