Hallo !
Ich kriege folgendes Error : C:\Dokumente und Einstellungen\----\Desktop\Server\gamemodes\script.pwn(26161) : error 030: compound statement not closed at the end of file (started at line 26101)
Hier die Zeilen :
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:scheinenew = GetPlayerMenu(playerid);
if(scheinenew == Scheine)
{
switch(row)
{
case 0:
{
PlayerInfo[playerid][pCarLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Führerschein Kostet 4000$! Viel Spass");
GivePlayerMoney(playerid, -4000);
}
case 1:
{
PlayerInfo[playerid][pFlyLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Flugschein Kostet 7000$! Viel Spass");
GivePlayerMoney(playerid, -7000);
}
case 2:
{
PlayerInfo[playerid][pFishLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Angelschein Kostet 6000$! Viel Spass");
GivePlayerMoney(playerid, -6000);
}
case 3:
{
PlayerInfo[playerid][pBoatLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Seegelschein Kostet 5000$! Viel Spass");
GivePlayerMoney(playerid, -5000);
}
case 4:
{
PlayerInfo[playerid][pLvLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein LV Pass Kostet 7000 $! Viel Spass");
GivePlayerMoney(playerid, -7000);
}
case 5:
{
PlayerInfo[playerid][pSfLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein SF Pass Kostet 7000 $! Viel Spass");
GivePlayerMoney(playerid, -7000);
}
case 6:
{
PlayerInfo[playerid][pLimLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Limosinenschein Kostet 12000 $! Viel Spass");
GivePlayerMoney(playerid, -12000);
}
case 7:
{
PlayerInfo[playerid][pSpLic] = 1;
SendClientMessage(playerid, COLOR_WHITE,"Dein Sportwagen-Pass Kostet 8000 $! Viel Spass");
GivePlayerMoney(playerid, -8000);
return 1;
}
}
}
Was mache ich nur falsch?
Ich habe alle Klammern geschlossen.
MfG Outkast