Was ist daran Falsch?

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
  • Hey, ich bekomme Folgenden Error in Folgendem Befehl:


    Error:

    Zitat

    error 036: empty statement


    Befehl:
    ocmd:startderby(playerid,params[])
    {
    >>>>>>>>> Das ist die ZEILE >>> if (PlayerInfo[playerid][pAdmin] >= 1);
    {
    if(sscanf(params,"i",derbyid)) return SendClientMessage(playerid,gelb,"Benutzung: /startderby [VehicleID]");
    DestroyVehicle(derbycars[0]);
    DestroyVehicle(derbycars[1]);
    DestroyVehicle(derbycars[2]);
    DestroyVehicle(derbycars[3]);
    DestroyVehicle(derbycars[4]);
    DestroyVehicle(derbycars[5]);
    DestroyVehicle(derbycars[6]);
    DestroyVehicle(derbycars[7]);
    DestroyVehicle(derbycars[8]);
    DestroyVehicle(derbycars[9]);
    DestroyVehicle(derbycars[10]);
    DestroyVehicle(derbycars[11]);
    DestroyVehicle(derbycars[12]);
    DestroyVehicle(derbycars[13]);
    derbycars[0]= AddStaticVehicleEx(derbyid,2530.19995117,2540.69995117,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[1]= AddStaticVehicleEx(derbyid,2530.30004883,2535.89990234,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[2]= AddStaticVehicleEx(derbyid,2530.30004883,2530.89990234,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[3]= AddStaticVehicleEx(derbyid,2530.30004883,2525.89990234,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[4]= AddStaticVehicleEx(derbyid,2530.30004883,2521.10009766,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[5]= AddStaticVehicleEx(derbyid,2530.30004883,2516.10009766,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[6]= AddStaticVehicleEx(derbyid,2530.30004883,2511.30004883,21.79999924,90.00000000,-1,-1,15); //Bloodring Banger
    derbycars[7]= AddStaticVehicleEx(derbyid,2507.80004883,2510.00000000,21.79999924,272.00000000,-1,-1,15); //Bloodring Banger
    derbycars[8]= AddStaticVehicleEx(derbyid,2507.60009766,2515.50000000,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    derbycars[9]= AddStaticVehicleEx(derbyid,2507.39990234,2520.50000000,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    derbycars[10]= AddStaticVehicleEx(derbyid,2507.19995117,2525.89990234,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    derbycars[11]= AddStaticVehicleEx(derbyid,2507.00000000,2530.80004883,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    derbycars[12]= AddStaticVehicleEx(derbyid,2506.89990234,2536.30004883,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    derbycars[13]= AddStaticVehicleEx(derbyid,2506.80004883,2541.00000000,21.79999924,271.99951172,-1,-1,15); //Bloodring Banger
    SendClientMessageToAll(gelb,"Ein Derby wurde gestartet!");
    derbys=1;
    }
    return 1;
    }
    Hoffe ihr könnt mir helfen ^^ MFG
    Ex0bie