Hey Com,
Ich wollte mal gerne Paar Checkpoints anzeigen lassen habe natürlich wieder ein Klammerfehler
ZitatAlles anzeigenocmd:Routen(playerid, params[])
{
#pragma unused params
if(SpielerInfo[playerid][pJob] !=8
{
SendClientMessage(playerid,COLOR_GREY,"FEHLER:Du bist kein Busfahrer.");
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"Nute /routen Damit dir die Routen angereigt werden.");
}
new Route;
switch(Route)
{
case 1: {
SetPlayerCheckpoint(playerid,1620.3597,-1091.1664,24.0426, 3.0);
}
case 2: {
SetPlayerCheckpoint(playerid,1337.4249,-1257.8025,13.5947, 3.0):
}
case 3: {
SetPlayerCheckpoint(playerid,1205.5034,-950.8513,42.9400, 3.0);
}
case 4: {
SetPlayerCheckpoint(playerid,1312.6661,-937.6982,38.5175, 3.0);
}
case 5: {
SetPlayerCheckpoint(playerid,1342.6127,-1084.4977,24.5892, 3.0);
}
case 6: {
SetPlayerCheckpoint(playerid,1369.7250,-1736.8805,13.5946, 3.0);
}
case 7: {
SetPlayerCheckpoint(playerid,1535.6731,-1670.2372,13.5162, 3.0);
}
case 8: {
SetPlayerCheckpoint(playerid,1817.1121,-1914.5232,13.5965, 3.0);
}
case 9: {
SetPlayerCheckpoint(playerid,1956.2455,-2109.3643,13.5950, 3,0);
}
case 10:{
SetPlayerCheckpoint(playerid,1433.9292,-2287.5435,13.5892, 3.0);
}
case 11:{
SetPlayerCheckpoint(playerid,2021.4203,-1607.0601,13.5962, 3.0);
}
case 12:{
SetPlayerCheckpoint(playerid,1790.5490,-1168.7395,23.8605, 3.0);
}
case 13:{
SetPlayerCheckpoint(playerid,1806.7313,-1055.4362,24.0956, 3.0);
}
case 14:{
SetPlayerCheckpoint(playerid,1590.3081,-1011.8506,24.0396,185.1713, 3.0);
}
case default:SendClientMessage(playerid, COLO_WHITE,"Ungültige ID!");
{
{
}