hallo habe 2 fragen 1 frage ist wie bekomme ich das kleiner und die 2 frage ist wie mache ich das das der User ge freezet Wört bei jeden point
if(Bus[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 1 erreicht.");
SetPlayerCheckpoint(playerid,1436.0986,-1735.5679,13.0875, 5.0/* Koordinaten #2*/);
Bus[playerid] = 2;
}
else if(Bus[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 2 erreicht.");
SetPlayerCheckpoint(playerid,1818.4584,-1911.8336,13.0939, 5.0/* Koordinaten #3*/);
Bus[playerid] = 3;
}
else if(Bus[playerid] == 3)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 3 erreicht.");
SetPlayerCheckpoint(playerid,2059.4771,-1940.6632,13.0563, 5.0/* Koordinaten #4*/);
Bus[playerid] = 4;
}
else if(Bus[playerid] == 4)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 4 erreicht.");
SetPlayerCheckpoint(playerid,2008.5358,-1457.9471,13.0952, 5.0/* Koordinaten #5*/);
Bus[playerid] = 5;
}
else if(Bus[playerid] == 5)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 5 erreicht.");
SetPlayerCheckpoint(playerid,1718.0936,-1414.9360,13.0885, 5.0/* Koordinaten #6*/);
Bus[playerid] = 6;
}
else if(Bus[playerid] == 6)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 6 erreicht.");
SetPlayerCheckpoint(playerid,1558.5846,-1294.5383,16.4447, 5.0/* Koordinaten #7*/);
Bus[playerid] = 7;
}
else if(Bus[playerid] == 7)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 7 erreicht.");
SetPlayerCheckpoint(playerid,1427.1154,-1030.7017,23.3610, 5.0/* Koordinaten #4*/);
Bus[playerid] = 8;
}
else if(Bus[playerid] == 8)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
SetPlayerCheckpoint(playerid,1203.2323,-933.3453,42.4372, 5.0/* Koordinaten #8*/);
Bus[playerid] = 9;
}
else if(Bus[playerid] == 9)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
SetPlayerCheckpoint(playerid,793.3743,-1354.3220,13.0956, 5.0/* Koordinaten #8*/);
Bus[playerid] = 10;
}
else if(Bus[playerid] == 10)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
SetPlayerCheckpoint(playerid,561.6163,-1399.9645,14.5171, 5.0/* Koordinaten #8*/);
Bus[playerid] = 11;
}
else if(Bus[playerid] == 11)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
SetPlayerCheckpoint(playerid,357.1045,-1649.3328,32.5020, 5.0/* Koordinaten #8*/);
Bus[playerid] = 12;
}
else if(Bus[playerid] == 12)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Du hast Checkpoint Nr. 8 erreicht.");
SetPlayerCheckpoint(playerid,1143.0398,-1737.3237,13.2442, 5.0/* Koordinaten #8*/);
Bus[playerid] = 13;
}
else if(Bus[playerid] == 13)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid,GRUN, "Herzlichen Glueckwunsch Du hast Bestanden");
DestroyVehicle(GetPlayerVehicleID(playerid));
}