Wo kommt dieser Fehler her?

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • D:\Domi\Spiele\GTA San Andreas\Domi Server\gamemodes\own.pwn(808) : error 030: compound statement not closed at the end of file (started at line 781)
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Zeilen wo der Fehler angeblich drinne ist:


    public LTimer(playerid)
    {
    SetPVarInt(playerid, "Loader",GetPVarInt(playerid,"Loader")+1);
    switch(GetPVarInt(playerid, "Loader"))
    {
    case 0: TextDrawShowForPlayer(playerid, LoaderTD[2][playerid]);
    case 1: { TextDrawHideForPlayer(playerid, LoaderTD[2][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[3][playerid]); }
    case 2: { TextDrawHideForPlayer(playerid, LoaderTD[3][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[4][playerid]); }
    case 3: { TextDrawHideForPlayer(playerid, LoaderTD[4][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[5][playerid]); }
    case 4: { TextDrawHideForPlayer(playerid, LoaderTD[5][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[6][playerid]); }
    case 5: { TextDrawHideForPlayer(playerid, LoaderTD[6][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[7][playerid]); }
    case 6: { TextDrawHideForPlayer(playerid, LoaderTD[7][playerid]); TextDrawShowForPlayer(playerid, LoaderTD[8][playerid]); }
    }
    if(GetPVarInt(playerid,"Loader") < 7) return SetTimerEx("LTimer",2500, 0, "d", playerid);
    else
    {
    for(new i = 0; i < 10; i++)
    {
    TextDrawHideForPlayer(playerid,LoaderTD[i][playerid]);
    TextDrawDestroy(LoaderTD[i][playerid]);
    }
    return TogglePlayerSpectating(playerid, false);
    }