Ich habe mehr tore hinzugefügt doch bei mir kommt error -.-
error 030: compound statement not closed at the end of file (started at line 48)
Hier wo der Fehler Liegen sollte ;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/eauf", true) == 0){
MoveObject(e_gate,2886.60009766,-2314.89990234,6.00000000,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Army Gelände!");
return 1;
}
if (strcmp(cmdtext, "/ezu", true) == 0){
MoveObject(e_gate,2886.60009766,-2308.89990234,6.00000000,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Army Gelände!");
return 1;
}
{
if (strcmp(cmdtext, "/aauf", true) == 0){
MoveObject(a_gate,2886.30004883,-2290.59990234,6.00000000,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Army Gelände!");
return 1;
}
if (strcmp(cmdtext, "/azu", true) == 0){
MoveObject(a_gate,2886.30004883,-2299.89990234,6.00000000,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Army Gelände!");
return 1;
}
{
if (strcmp(cmdtext, "/bauf", true) == 0){
MoveObject(b_gate,3081.39990234,-2402.69995117,3.19999981,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Vergessen Sie Nicht Das Besuchertor zu schließen !");
return 1;
}
if (strcmp(cmdtext, "/bzu", true) == 0){
MoveObject(b_gate,3081.39990234,-2402.69995117,4.19999981,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Seien Sie Sicher Das der Gefangene In Alcatraz ist!");
return 1;
}
{
if (strcmp(cmdtext, "/gauf", true) == 0){
MoveObject(g_gate,3081.19995117,-2427.89990234,3.19999981,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Gefangener in der Besucher Zelle!");
return 1;
}
if (strcmp(cmdtext, "/gzu", true) == 0){
MoveObject(g_gate,3081.19995117,-2427.89990234,4.19999981,4);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Seien Sie Sicher Das der Gefangene In Alcatraz ist!!");
return 1;
}
}
return 0;
}