Error´s beim Einfügen eines fraktions autohaus.

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
  • Moin Com,



    Ich Hab viele erros wenn ich mein autohaus einfügen will.


    Kann mir einer Helfen?


    Hier die Fehler:


    das ist das script von einem Freund!


    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : error 001: expected token: "#endif", but found "-end of file-"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ADACLabel"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ALLSTRING"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "Admin"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "AdminDuty"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "advar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "alhambraausgang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "alhambraeingang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "arbeitsamtausgang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bpausgangaufzug"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bpdach"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bpeingang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bpenteraufzug"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bptor1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bptor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "bptorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "callcost"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "cartimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "cbjstore"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "cchargetime"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "checkgastimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "civnokill"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "cnnausgang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "cnneingang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "deathcost"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "dollah"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "dtcKaufliste"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "dtc_AutohausCar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "dtc_AutohausCat"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "dtc_AutohausSCar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "f2ftor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "f2ftorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "fahrschulbasels"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "fahrschulbaselsausgang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "fahrzeug"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor10"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor3"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor4"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor5"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor7"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor8"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuertor9"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor10"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor3"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor4"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor5"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor7"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor8"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "feuerwehrtor9"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "firecmd"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "freebuycost"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ftor1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ftor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ftor3"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gActivePlayers"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gCarLock"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gDice"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gFam"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gGas"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gLastCar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gLastDriver"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gNews"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gOoc"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerAccount"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerAnimLibsPreloaded"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerCheckpointStatus"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerLogTries"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerLogged"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerSpawned"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gPlayerUsingLoopingAnim"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gSpeedo"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gSpentCash"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gTeam"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gcl"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gelblicht1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gelblicht2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "ghour"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gminute"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "gsecond"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "handyname"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "hatgetauscht"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "hatverkauft"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "hitfound"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "hitid"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "hoehe"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "iVehicleObjective"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "idletime"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "idletimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "intrate"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "kmh"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "kofferraum"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "lcntor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "lcntorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "leo1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "leo2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "levelcost"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "levelexp"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "licht"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "light1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "light2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "light3"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "light4"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "light5"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "locked"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "medictor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "medictor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "medictorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "medictorvar2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "motd"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "motorhaube"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "mvall"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "nameplus"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "need"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "neon"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "newmistimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "newswechsel"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "noooc"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "numplayers"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "objstore"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "oocon"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "othtimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pBanner"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pIP"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pIstTot"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pVerbrecher"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pickups"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "pickuptimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "policetor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "policetorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "port"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "productiontimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "realchat"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "realtime"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "reportname"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "rob"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "rtor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "rtor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "rtor2var"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "rtorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sVehicle_X"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sVehicle_Y"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sVehicle_Z"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "shalleauto"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "shifthour"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sirene"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sirene1"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sirene2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "sirene3"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "stoppedvehtimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "suecost"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "synctimer"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "taxiausgang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "taxieingang"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "taxilocked"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "taxischranke"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "taxischrankevar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "tbDir"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "terrorgate"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "wallavar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "wetterid"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "whtor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "whtor2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "whtorvar"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "whtorvar2"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "wtime"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "yak"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "yaktor"
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : warning 203: symbol is never used: "zustand"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    Need Help :)


    Noch mehr erros die ich aber nicht eintragen kann da die Zeile dann zu Lang ist

  • Ohhhjeoje ... :S Wenn du bis später warten kannst, dann komm ich nochmal per TV rauf und helf dir dabei.


    MfG EN

  • Jojo kein Ding, wie gesagt musste dich etwas gedulden. Wenn du Glück hast schlafe ich nicht allzulang :whistling:


    MfG EN

  • Ist doch nur ein Fehler, das andere sind Warnings.
    C:\Users\Mark\Desktop\PGS-Betanew.pwn(63199) : error 001: expected token: "#endif", but found "-end of file-"
    Irgendwo, warscheinlich ganz am Anfang, fehlt ein #endif (#if muss auch geschlossen werden).


    Der Rest sind Warnings, die sagen das du die ganzen Variablen zwar deklariert, aber nicht verwendet hast.
    #pragma unused.

  • /*[----------------------- Fraktionscar System -----------------------]*/
    if(strcmp(cmdtext,"/fpark",true)==0)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    new fc;while(fc<sizeof(FactionCars))
    {
    if(FactionCars[fc][fVehid]<= 400&&FactionCars[fc][fVehid]<= 611);
    {
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid])
    {
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerLeader(playerid) == FactionCars[fc][fFaction][0])
    {
    GetVehiclePos(FactionCars[fc][fCarid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    GetVehicleZAngle(FactionCars[fc][fCarid],FactionCars[fc][fPos][3]);
    SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug erfolgreich umgeparkt.");
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist dazu nicht berechtigt.");
    return true;
    }
    }fc++;
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fahrzeug oder bist nicht der Fahrer.");
    return true;
    }
    if(strcmp(cmdtext,"/fcarsell",true)==0){
    if(GetPlayerLeader(playerid)){
    if(IsAllowedFactionToBuy(GetPlayerFaction(playerid))){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    new Carid1 = GetPlayerVehicleID(playerid);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(Carid1 == FactionCars[fc][fCarid]){
    if(FactionCars[fc][fFaction][0] == GetPlayerLeader(playerid)){
    if(FactionCars[fc][fTowed] == 1){return SendClientMessage(playerid, COLOR_GREY,"Das Fraktionsauto ist abgeschleppt");}
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid]))
    FactionCars[fc][fCarid] = -255;
    new fText[178];
    format(fText,sizeof(fText),"Du hast das Fraktionsfahrzeug erfolgreich für $%d(50%% vom Kaufpreis) verkauft.",(FactionCars[fc][fPrice]/2));
    SendClientMessage(playerid,FACTION_COL_YELLOW,fText);
    CallRemoteFunction("Script_GivePlayerMoney","id",playerid,(FactionCars[fc][fPrice]/2));
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht der besitzer dieses Fahrzeuges.");
    return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer eines Fahrzeuges sein.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Deine Fraktion ist dazu nicht berechtigt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/lfa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    new Float:fX,Float:fY,Float:fZ;
    GetVehiclePos(FactionCars[fc][fCarid],fX,fY,fZ);
    if(IsPlayerInRangeOfPoint(playerid,4.0,fX,fY,fZ)){
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid])){
    FactionCars[fc][fCarid] = -255;
    }return SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug entfernt.");
    }
    }
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/rafa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    new fName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fName,sizeof(fName));
    format(string,sizeof(string),"Server: %s hat alle Fraktionsfahrzeuge respawnt.",fName);
    SendClientMessageToAll(FACTION_COL_YELLOW,string);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611)
    DestroyAndCreateFactionCar(fc);
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/ramfa",true)==0){
    if(GetPlayerLeader(playerid)){
    if(gettime() < LastRespawned[GetPlayerFaction(playerid)-1])
    return SendClientMessage(playerid,FACTION_COL_GREY,"Du kannst deine Fahrzeuge nur alle '15' Minuten respawnen.");
    LastRespawned[GetPlayerFaction(playerid)-1] = gettime()+(60*15);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(FactionCars[fc][fFaction][0] == GetPlayerFaction(playerid)){
    DestroyAndCreateFactionCar(fc);
    }
    }
    }SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast deine Fraktionsfahrzeuge erfolgreich respawnt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    #if defined FACTION_CARS_LOCKABLE
    if(strcmp(cmdtext,"/flock",true)==0){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid]){
    for(new f;f<5;f++){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerFaction(playerid) == FactionCars[fc][fFaction][f]){
    PlayerPlaySound(playerid,1145,0.0,0.0,0.0);
    if(FactionCars[fc][fLock] == true){
    FactionCars[fc][fLock] = false;
    fUnlockCar(FactionCars[fc][fCarid]);
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~g~Aufgeschlossen",5000,3);
    }
    else if(FactionCars[fc][fLock] == false){
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~r~Abgeschlossen",5000,3);
    }break;
    }
    }return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug!");
    }else{
    if(GetPlayerState(playerid)==PLAYER_STATE_PASSENGER)
    SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer dieses Fahrzeuges sein.");
    else
    SendClientMessage(playerid,FACTION_COL_GREY,"Du muss in einem Fahrzeug sitzen.");
    }return true;
    }
    #endif


    Das ist das was ich eingefügt habe

  • Dream schau mal Zeile 99 ;)


    Ach und an den TE, ich habe das #endif mal vor dem letzten "}" getan vielleicht hilft das. Denn mein Müder verstand sagt mir das wenn ich ein #if vor einem if habe muss ich das #if auch wieder schließen bevor der angefangne if block aufhört. kann mich auch täuschen :D


    /*[----------------------- Fraktionscar System -----------------------]*/
    if(strcmp(cmdtext,"/fpark",true)==0)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    new fc;while(fc<sizeof(FactionCars))
    {
    if(FactionCars[fc][fVehid]<= 400&&FactionCars[fc][fVehid]<= 611);
    {
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid])
    {
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerLeader(playerid) == FactionCars[fc][fFaction][0])
    {
    GetVehiclePos(FactionCars[fc][fCarid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    GetVehicleZAngle(FactionCars[fc][fCarid],FactionCars[fc][fPos][3]);
    SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug erfolgreich umgeparkt.");
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist dazu nicht berechtigt.");
    return true;
    }
    }fc++;
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fahrzeug oder bist nicht der Fahrer.");
    return true;
    }
    if(strcmp(cmdtext,"/fcarsell",true)==0){
    if(GetPlayerLeader(playerid)){
    if(IsAllowedFactionToBuy(GetPlayerFaction(playerid))){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    new Carid1 = GetPlayerVehicleID(playerid);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(Carid1 == FactionCars[fc][fCarid]){
    if(FactionCars[fc][fFaction][0] == GetPlayerLeader(playerid)){
    if(FactionCars[fc][fTowed] == 1){return SendClientMessage(playerid, COLOR_GREY,"Das Fraktionsauto ist abgeschleppt");}
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid]))
    FactionCars[fc][fCarid] = -255;
    new fText[178];
    format(fText,sizeof(fText),"Du hast das Fraktionsfahrzeug erfolgreich für $%d(50%% vom Kaufpreis) verkauft.",(FactionCars[fc][fPrice]/2));
    SendClientMessage(playerid,FACTION_COL_YELLOW,fText);
    CallRemoteFunction("Script_GivePlayerMoney","id",playerid,(FactionCars[fc][fPrice]/2));
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht der besitzer dieses Fahrzeuges.");
    return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer eines Fahrzeuges sein.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Deine Fraktion ist dazu nicht berechtigt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/lfa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    new Float:fX,Float:fY,Float:fZ;
    GetVehiclePos(FactionCars[fc][fCarid],fX,fY,fZ);
    if(IsPlayerInRangeOfPoint(playerid,4.0,fX,fY,fZ)){
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid])){
    FactionCars[fc][fCarid] = -255;
    }return SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug entfernt.");
    }
    }
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/rafa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    new fName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fName,sizeof(fName));
    format(string,sizeof(string),"Server: %s hat alle Fraktionsfahrzeuge respawnt.",fName);
    SendClientMessageToAll(FACTION_COL_YELLOW,string);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611)
    DestroyAndCreateFactionCar(fc);
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/ramfa",true)==0){
    if(GetPlayerLeader(playerid)){
    if(gettime() < LastRespawned[GetPlayerFaction(playerid)-1])
    return SendClientMessage(playerid,FACTION_COL_GREY,"Du kannst deine Fahrzeuge nur alle '15' Minuten respawnen.");
    LastRespawned[GetPlayerFaction(playerid)-1] = gettime()+(60*15);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(FactionCars[fc][fFaction][0] == GetPlayerFaction(playerid)){
    DestroyAndCreateFactionCar(fc);
    }
    }
    }SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast deine Fraktionsfahrzeuge erfolgreich respawnt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    #if defined FACTION_CARS_LOCKABLE
    if(strcmp(cmdtext,"/flock",true)==0){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid]){
    for(new f;f<5;f++){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerFaction(playerid) == FactionCars[fc][fFaction][f]){
    PlayerPlaySound(playerid,1145,0.0,0.0,0.0);
    if(FactionCars[fc][fLock] == true){
    FactionCars[fc][fLock] = false;
    fUnlockCar(FactionCars[fc][fCarid]);
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~g~Aufgeschlossen",5000,3);
    }
    else if(FactionCars[fc][fLock] == false){
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~r~Abgeschlossen",5000,3);
    }break;
    }
    }return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug!");
    }else{
    if(GetPlayerState(playerid)==PLAYER_STATE_PASSENGER)
    SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer dieses Fahrzeuges sein.");
    else
    SendClientMessage(playerid,FACTION_COL_GREY,"Du muss in einem Fahrzeug sitzen.");
    }return true;
    #endif
    }

  • C:\Users\Mark\Desktop\PGS-Betanew.pwn(12) : fatal error 100: cannot read from file: "a_Bot"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.


    und wenn ich den rein mache kommen 26 Errors

  • Ach 26 errors -_- denn isses nen klammerfehler und mein müder gedankengang war falsch und wenn ich mir den schwachsinn anschau den ich dort geschrieben habe wundert mich das nicht ^^ NAtürlich gehört das #endif hinter die klammmer
    /*[----------------------- Fraktionscar System -----------------------]*/
    if(strcmp(cmdtext,"/fpark",true)==0)
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    new fc;while(fc<sizeof(FactionCars))
    {
    if(FactionCars[fc][fVehid]<= 400&&FactionCars[fc][fVehid]<= 611);
    {
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid])
    {
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerLeader(playerid) == FactionCars[fc][fFaction][0])
    {
    GetVehiclePos(FactionCars[fc][fCarid],FactionCars[fc][fPos][0],FactionCars[fc][fPos][1],FactionCars[fc][fPos][2]);
    GetVehicleZAngle(FactionCars[fc][fCarid],FactionCars[fc][fPos][3]);
    SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug erfolgreich umgeparkt.");
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist dazu nicht berechtigt.");
    return true;
    }
    }fc++;
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fahrzeug oder bist nicht der Fahrer.");
    return true;
    }
    if(strcmp(cmdtext,"/fcarsell",true)==0){
    if(GetPlayerLeader(playerid)){
    if(IsAllowedFactionToBuy(GetPlayerFaction(playerid))){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    new Carid1 = GetPlayerVehicleID(playerid);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(Carid1 == FactionCars[fc][fCarid]){
    if(FactionCars[fc][fFaction][0] == GetPlayerLeader(playerid)){
    if(FactionCars[fc][fTowed] == 1){return SendClientMessage(playerid, COLOR_GREY,"Das Fraktionsauto ist abgeschleppt");}
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid]))
    FactionCars[fc][fCarid] = -255;
    new fText[178];
    format(fText,sizeof(fText),"Du hast das Fraktionsfahrzeug erfolgreich für $%d(50%% vom Kaufpreis) verkauft.",(FactionCars[fc][fPrice]/2));
    SendClientMessage(playerid,FACTION_COL_YELLOW,fText);
    CallRemoteFunction("Script_GivePlayerMoney","id",playerid,(FactionCars[fc][fPrice]/2));
    }
    else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht der besitzer dieses Fahrzeuges.");
    return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer eines Fahrzeuges sein.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Deine Fraktion ist dazu nicht berechtigt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/lfa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    new Float:fX,Float:fY,Float:fZ;
    GetVehiclePos(FactionCars[fc][fCarid],fX,fY,fZ);
    if(IsPlayerInRangeOfPoint(playerid,4.0,fX,fY,fZ)){
    FactionCars[fc][fVehid] = -255;
    if(DestroyVehicle(FactionCars[fc][fCarid])){
    FactionCars[fc][fCarid] = -255;
    }return SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast das Fraktionsfahrzeug entfernt.");
    }
    }
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/rafa",true)==0){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL){
    new fName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,fName,sizeof(fName));
    format(string,sizeof(string),"Server: %s hat alle Fraktionsfahrzeuge respawnt.",fName);
    SendClientMessageToAll(FACTION_COL_YELLOW,string);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611)
    DestroyAndCreateFactionCar(fc);
    }
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    if(strcmp(cmdtext,"/ramfa",true)==0){
    if(GetPlayerLeader(playerid)){
    if(gettime() < LastRespawned[GetPlayerFaction(playerid)-1])
    return SendClientMessage(playerid,FACTION_COL_GREY,"Du kannst deine Fahrzeuge nur alle '15' Minuten respawnen.");
    LastRespawned[GetPlayerFaction(playerid)-1] = gettime()+(60*15);
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(FactionCars[fc][fFaction][0] == GetPlayerFaction(playerid)){
    DestroyAndCreateFactionCar(fc);
    }
    }
    }SendClientMessage(playerid,FACTION_COL_YELLOW,"Du hast deine Fraktionsfahrzeuge erfolgreich respawnt.");
    }else SendClientMessage(playerid,FACTION_COL_GREY,"Du bist nicht berechtigt diesen Befehl anzuwenden.");
    return true;
    }
    #if defined FACTION_CARS_LOCKABLE
    if(strcmp(cmdtext,"/flock",true)==0){
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
    for(new fc;fc<sizeof(FactionCars);fc++){
    if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
    if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid]){
    for(new f;f<5;f++){
    if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerFaction(playerid) == FactionCars[fc][fFaction][f]){
    PlayerPlaySound(playerid,1145,0.0,0.0,0.0);
    if(FactionCars[fc][fLock] == true){
    FactionCars[fc][fLock] = false;
    fUnlockCar(FactionCars[fc][fCarid]);
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~g~Aufgeschlossen",5000,3);
    }
    else if(FactionCars[fc][fLock] == false){
    fLockCar(FactionCars[fc][fCarid]);
    FactionCars[fc][fLock] = true;
    GameTextForPlayer(playerid,"~w~Fahrzeug~n~~r~Abgeschlossen",5000,3);
    }break;
    }
    }return true;
    }
    }
    }SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug!");
    }else{
    if(GetPlayerState(playerid)==PLAYER_STATE_PASSENGER)
    SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer dieses Fahrzeuges sein.");
    else
    SendClientMessage(playerid,FACTION_COL_GREY,"Du muss in einem Fahrzeug sitzen.");
    }return true;
    }
    #endif


    Du wirst wegen dem #endif wohl mal durch dein Script suchen müssen Such nach

    Code
    #if

    und schau nach ob auf dem #if auch ein #endif folgt Dazu musste Scrolln ;) der SciTE Editor hebt das #if vor so hast du es leichter das dazugehörige #endif zu finden ;)

    Einmal editiert, zuletzt von DuxAquila ()

  • okee der ist weg mit dem endif


    jetzt habe ich 630 warnings




    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor3"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor4"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor5"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor7"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor8"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "feuerwehrtor9"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "firecmd"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "freebuycost"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ftor1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ftor2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ftor3"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gActivePlayers"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gCarLock"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gDice"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gFam"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gGas"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gLastCar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gLastDriver"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gNews"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gOoc"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerAccount"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerAnimLibsPreloaded"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerCheckpointStatus"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerLogTries"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerLogged"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerSpawned"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gPlayerUsingLoopingAnim"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gSpeedo"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gSpentCash"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gTeam"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gcl"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gelblicht1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gelblicht2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ghour"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gminute"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "gsecond"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "handyname"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "hatgetauscht"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "hatverkauft"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "hitfound"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "hitid"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "hoehe"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "iVehicleObjective"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "idletime"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "idletimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "intrate"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "kmh"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "kofferraum"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "lcntor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "lcntorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "leo1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "leo2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "levelcost"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "levelexp"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "licht"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "light1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "light2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "light3"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "light4"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "light5"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "locked"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "medictor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "medictor2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "medictorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "medictorvar2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "motd"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "motorhaube"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "mvall"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "nameplus"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "need"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "neon"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "newmistimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "newswechsel"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "noooc"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "numplayers"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "objstore"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "oocon"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "othtimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pBanner"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pIP"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pIstTot"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pVerbrecher"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pickups"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "pickuptimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "policetor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "policetorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "port"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "productiontimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "realchat"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "realtime"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "reportname"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "rob"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "rtor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "rtor2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "rtor2var"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "rtorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sVehicle_X"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sVehicle_Y"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sVehicle_Z"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "shalleauto"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "shifthour"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sirene"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sirene1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sirene2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "sirene3"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "stoppedvehtimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "suecost"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "synctimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "taxiausgang"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "taxieingang"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "taxilocked"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "taxischranke"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "taxischrankevar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "tbDir"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "terrorgate"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "terrorgatevar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ticketmsg"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "timerkrankenhaus"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "timeshift"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "tor10"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "tor10var"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadenleadertor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadenleadertorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadennotfall"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadennotfall2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadennotfallvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadensperre"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadensperrevar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadentor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "triadentorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ture1"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ture1var"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ture2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "ture2var"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "txtAnimHelper"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "txtcost"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "unjailtimer"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "versteckup"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "walla"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "walla2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "wallavar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "wetterid"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "whtor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "whtor2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "whtorvar"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "whtorvar2"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "wtime"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "yak"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "yaktor"
    C:\Users\Mark\Desktop\Projekt-Reallife.pwn(63202) : warning 203: symbol is never used: "zustand"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

  • Immer diese GF Edits :D


    All diese tollen namen hast du iwo mit "new" oder "#define " benannt aber sie werden im Script her nicht genutzt :D Entweder du lässt die Warnings drinn und nutzt die Deklarationen in näherer zukunft, oder du setzt die alle zusammen und Kommentierst sie aus

  • Das sind alles Variablen,
    die du erstellt hast,
    aber rein garnichts mit ihnen anfängst.


    Das macht nichts, was da steht, keine Sorge =)

    Unkompetent. Das neue dynamisch.



    ihr seit schon lustig postet erros aber nicht die zeilen wo sie sind dann können wir euch auch nicht helfen^^


    Lernt Scripten, Leute, und macht eure Augen auf!


    _______________________________________
    50 Beiträge: [x] 300 Beiträge: [x]
    100 Beiträge: [x] 500 Beiträge: [x]
    150 Beiträge: [x] 1000 Beiträge: [x]
    200 Beiträge: [x]
    2000 Beiträge: []
    250 Beiträge: [X] Boardaktivitäten: Profil


    [size=36]_______________________________________

    /Edit: Schmerzt es dir eigentlich nicht so ein Müll zu schreiben 8|

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen