Pawno stürtzt immer ab

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
  • hallo ich habe mir ein tunning system in mein gamemode reingemacht seit den kann iuch net mehr compileren dann stürtz Pawno ab hier ein mal die daten zu den tunning
    //tuning
    if(strcmp("/tune", cmdtext, true) == 0)
    {
    if (PlayerInfo[playerid][AdminLevel] >= 3)
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, Rot, "Du bist in keinem Auto!!");
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Pimp My Car", "Felgen\nFarbe\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Schließen");
    TogglePlayerControllable(playerid, false);
    {
    else
    }
    SendClientMessage(playerid,Rot, "Du hast keine Rechte dafür.");
    }
    return 1;
    }
    //end
    und ein mal daswas bei OnDialogResponse steht
    {
    new auto = GetPlayerVehicleID(playerid);
    if(dialogid == 1)
    {
    if(response == 1)
    {
    if(listitem == 0) //Felgen
    {
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1) //Farben
    {
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2) //Hidraulics
    {
    AddVehicleComponent(auto, 1087);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 3) //Nitro
    {
    AddVehicleComponent(auto, 1010);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 4) //Stereo
    {
    AddVehicleComponent(auto, 1086);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 5) //Repair
    {
    RepairVehicle(auto);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    if(response == 0) return TogglePlayerControllable(playerid, true);
    }
    if(dialogid == 2)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    AddVehicleComponent(auto, 1080); //Switch
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    AddVehicleComponent(auto, 1074); //Mega
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wäjlen", "Zurück");
    }
    if(listitem == 2)
    {
    AddVehicleComponent(auto, 1079); //Cutter
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    AddVehicleComponent(auto, 1025); //Offroad
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    AddVehicleComponent(auto, 1073); //Shadow
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    AddVehicleComponent(auto, 1075); //Rimshine
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 6)
    {
    AddVehicleComponent(auto, 1076); //Wires
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 7)
    {
    AddVehicleComponent(auto, 1077); //Classic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 8)
    {
    AddVehicleComponent(auto, 1078); //Twist
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 9)
    {
    AddVehicleComponent(auto, 1081); //Grove
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 10)
    {
    AddVehicleComponent(auto, 1082); //Import
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 11)
    {
    AddVehicleComponent(auto, 1083); //Dollar
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 12)
    {
    AddVehicleComponent(auto, 1084); //Trance
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 13)
    {
    AddVehicleComponent(auto, 1085); //Atomic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 14)
    {
    AddVehicleComponent(auto, 1096); //Ahab
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 15)
    {
    AddVehicleComponent(auto, 1097); //Virtual
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 16)
    {
    AddVehicleComponent(auto, 1098); //Access
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(dialogid == 3)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    ChangeVehicleColor(auto, 1, 1);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    ChangeVehicleColor(auto, 0, 0);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2)
    {
    ChangeVehicleColor(auto, 252, 252);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    ChangeVehicleColor(auto, 158, 158);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    ChangeVehicleColor(auto, 6, 6);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    ChangeVehicleColor(auto, 170, 170);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    return 0;
    } Weis einer wieso dann Pawno abstürtz wenn das drinme ist


    MfG
    Kiddy_Noobtuber

  • {
    new auto = GetPlayerVehicleID(playerid);
    if(dialogid == 1)
    {
    if(response == 1)
    {
    if(listitem == 0) //Felgen
    {
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1) //Farben
    {
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2) //Hidraulics
    {
    AddVehicleComponent(auto, 1087);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 3) //Nitro
    {
    AddVehicleComponent(auto, 1010);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 4) //Stereo
    {
    AddVehicleComponent(auto, 1086);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 5) //Repair
    {
    RepairVehicle(auto);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    if(response == 0) return TogglePlayerControllable(playerid, true);
    }
    if(dialogid == 2)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    AddVehicleComponent(auto, 1080); //Switch
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    AddVehicleComponent(auto, 1074); //Mega
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wäjlen", "Zurück");
    }
    if(listitem == 2)
    {
    AddVehicleComponent(auto, 1079); //Cutter
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    AddVehicleComponent(auto, 1025); //Offroad
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    AddVehicleComponent(auto, 1073); //Shadow
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    AddVehicleComponent(auto, 1075); //Rimshine
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 6)
    {
    AddVehicleComponent(auto, 1076); //Wires
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 7)
    {
    AddVehicleComponent(auto, 1077); //Classic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 8)
    {
    AddVehicleComponent(auto, 1078); //Twist
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 9)
    {
    AddVehicleComponent(auto, 1081); //Grove
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 10)
    {
    AddVehicleComponent(auto, 1082); //Import
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 11)
    {
    AddVehicleComponent(auto, 1083); //Dollar
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 12)
    {
    AddVehicleComponent(auto, 1084); //Trance
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 13)
    {
    AddVehicleComponent(auto, 1085); //Atomic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 14)
    {
    AddVehicleComponent(auto, 1096); //Ahab
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 15)
    {
    AddVehicleComponent(auto, 1097); //Virtual
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 16)
    {
    AddVehicleComponent(auto, 1098); //Access
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(dialogid == 3)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    ChangeVehicleColor(auto, 1, 1);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    ChangeVehicleColor(auto, 0, 0);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2)
    {
    ChangeVehicleColor(auto, 252, 252);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    ChangeVehicleColor(auto, 158, 158);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    ChangeVehicleColor(auto, 6, 6);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    ChangeVehicleColor(auto, 170, 170);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    return 0;
    }
    Probiers mal so. Und prüf nochmal ob nicht eine Klammer zu viel oder zu wenig dort ist. Denn das kann den Absturz von Pawno hervorrufen!

  • So aber beim Befehl /tune ist die Klammersetzung völlig unlogisch.
    if(strcmp("/tune", cmdtext, true) == 0)
    {
    if (PlayerInfo[playerid][AdminLevel] >= 3)
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, Rot, "Du bist in keinem Auto!!");
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Pimp My Car", "Felgen\nFarbe\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Schließen");
    TogglePlayerControllable(playerid, false);
    }
    else
    {
    SendClientMessage(playerid,Rot, "Du hast keine Rechte dafür.");
    }
    return 1;
    }

  • so habe jetzt aber alles üerprüft und überral ist jetzt alles richtig aber pawno stürz immer noch ab :(

  • Willst du einen Sunt/Fun/DM Server machen? Dann würd ich dir aber mal ganz schnell von GF abraten.
    //Edit: 100 Beiträge Jubiläum :))

  • ja aber ich kann nur gf selfmade wollte ich schon imemr machen

  • bei mir funzts wunderbar:
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    new auto = GetPlayerVehicleID(playerid);
    if(dialogid == 1)
    {
    if(response == 1)
    {
    if(listitem == 0) //Felgen
    {
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1) //Farben
    {
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2) //Hidraulics
    {
    AddVehicleComponent(auto, 1087);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 3) //Nitro
    {
    AddVehicleComponent(auto, 1010);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 4) //Stereo
    {
    AddVehicleComponent(auto, 1086);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 5) //Repair
    {
    RepairVehicle(auto);
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    if(response == 0) return TogglePlayerControllable(playerid, true);
    }
    if(dialogid == 2)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    AddVehicleComponent(auto, 1080); //Switch
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    AddVehicleComponent(auto, 1074); //Mega
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wäjlen", "Zurück");
    }
    if(listitem == 2)
    {
    AddVehicleComponent(auto, 1079); //Cutter
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    AddVehicleComponent(auto, 1025); //Offroad
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    AddVehicleComponent(auto, 1073); //Shadow
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    AddVehicleComponent(auto, 1075); //Rimshine
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 6)
    {
    AddVehicleComponent(auto, 1076); //Wires
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 7)
    {
    AddVehicleComponent(auto, 1077); //Classic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 8)
    {
    AddVehicleComponent(auto, 1078); //Twist
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 9)
    {
    AddVehicleComponent(auto, 1081); //Grove
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 10)
    {
    AddVehicleComponent(auto, 1082); //Import
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 11)
    {
    AddVehicleComponent(auto, 1083); //Dollar
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 12)
    {
    AddVehicleComponent(auto, 1084); //Trance
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 13)
    {
    AddVehicleComponent(auto, 1085); //Atomic
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 14)
    {
    AddVehicleComponent(auto, 1096); //Ahab
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 15)
    {
    AddVehicleComponent(auto, 1097); //Virtual
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 16)
    {
    AddVehicleComponent(auto, 1098); //Access
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(dialogid == 3)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    ChangeVehicleColor(auto, 1, 1);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    ChangeVehicleColor(auto, 0, 0);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2)
    {
    ChangeVehicleColor(auto, 252, 252);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    ChangeVehicleColor(auto, 158, 158);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    ChangeVehicleColor(auto, 6, 6);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    ChangeVehicleColor(auto, 170, 170);
    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Farb menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    if(strcmp("/tune", cmdtext, true) == 0)
    {
    if (PlayerInfo[playerid][AdminLevel] >= 3)
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, Rot, "Du bist in keinem Auto!!");
    {
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Pimp My Car", "Felgen\nFarbe\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Schließen");
    TogglePlayerControllable(playerid, false);
    }
    else
    {
    SendClientMessage(playerid,Rot, "Du hast keine Rechte dafür.");
    }
    return 1;
    }
    }

  • Da ist Selfmade doch 1000 Mal einfacher?! Gug einfach bisschen im SA-MP Wiki rum und dann lernste die Funktionen kennen und dann ist ein Selfmade einfacher. Ich konnt Anfangs auch nur ein /kill Command und jetzt reichts immerhin schon bis zum /heal Command :D Scherz aber Slefmade is viel einfacher

  • wenn ales richtig ist dann kakt irgendwie wieder pawno ab

  • so hab nochmal überarbeitet warns usw weg waren btw bugs drin fixed:
    new auto = GetPlayerVehicleID(playerid);
    if(dialogid == DIALOG_TUNE)
    {
    if(response == 1)
    {
    if(listitem == 0) //Felgen
    {
    ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1) //Farben
    {
    ShowPlayerDialog(playerid, DIALOG_TUNE_FARBEN, DIALOG_STYLE_LIST, "Farb Menu", "Weiß\nSchwarz\nGrün\nBlau\nGelb\nRot", "Wählen", "Zurück");
    }
    if(listitem == 2) //Hidraulics
    {
    AddVehicleComponent(auto, 1087);
    // ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 3) //Nitro
    {
    AddVehicleComponent(auto, 1010);
    // ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 4) //Stereo
    {
    AddVehicleComponent(auto, 1086);
    // ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    if(listitem == 5) //Repair
    {
    RepairVehicle(auto);
    // ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }
    }
    if(response == 0) return TogglePlayerControllable(playerid, true);
    }
    if(dialogid == DIALOG_TUNE_FELGEN)
    {
    if(response == 1)
    {
    if(listitem == 0)
    {
    AddVehicleComponent(auto, 1080); //Switch
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 1)
    {
    AddVehicleComponent(auto, 1074); //Mega
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wäjlen", "Zurück");
    }
    if(listitem == 2)
    {
    AddVehicleComponent(auto, 1079); //Cutter
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 3)
    {
    AddVehicleComponent(auto, 1025); //Offroad
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 4)
    {
    AddVehicleComponent(auto, 1073); //Shadow
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 5)
    {
    AddVehicleComponent(auto, 1075); //Rimshine
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 6)
    {
    AddVehicleComponent(auto, 1076); //Wires
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 7)
    {
    AddVehicleComponent(auto, 1077); //Classic
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 8)
    {
    AddVehicleComponent(auto, 1078); //Twist
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 9)
    {
    AddVehicleComponent(auto, 1081); //Grove
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 10)
    {
    AddVehicleComponent(auto, 1082); //Import
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 11)
    {
    AddVehicleComponent(auto, 1083); //Dollar
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 12)
    {
    AddVehicleComponent(auto, 1084); //Trance
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 13)
    {
    AddVehicleComponent(auto, 1085); //Atomic
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 14)
    {
    AddVehicleComponent(auto, 1096); //Ahab
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 15)
    {
    AddVehicleComponent(auto, 1097); //Virtual
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    if(listitem == 16)
    {
    AddVehicleComponent(auto, 1098); //Access
    // ShowPlayerDialog(playerid, DIALOG_TUNE_FELGEN, DIALOG_STYLE_LIST, "Felgen Menu", "Switch\nMega\nCutter\nOffroad\nShadow\nRimshine\nWires\nClassic\nTwist\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess\n", "Wählen", "Zurück");
    }
    }
    if(response == 0) return ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Tuning Menu", "Felgen\nFarben\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Zurück");
    }


    if(strcmp("/tune", cmdtext, true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >= 3)
    {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "Du bist in keinem Auto!!");
    ShowPlayerDialog(playerid, DIALOG_TUNE, DIALOG_STYLE_LIST, "Pimp My Car", "Felgen\nFarbe\nHidraulics\nNitro\nStereo\nRepair", "Wählen", "Schließen");
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED, "Du hast keine Rechte dafür.");
    }
    }

  • if(strcmp("/flip", cmdtext, true) == 0)
    {
    if (PlayerInfo[playerid][AdminLevel] >= 3)
    {
    new Float:a, Vehicle = GetPlayerVehicleID(playerid);
    GetVehicleZAngle(Vehicle,a);
    SetVehicleZAngle(Vehicle,a);
    }
    else
    {
    SendClientMessage(playerid, Rot, "Dein Admin level ist nicht hoch genug!");
    }
    return 1;
    } aber da lief der server noch nur seit tuning drin ist geht der server nicht mehr

  • hmm kanst du must mir nur ein pn senden

    Einmal editiert, zuletzt von Kiddy_Noobtuber ()

  • aha ja komischer weise war vor das tuning kein einziger fehler xD un du wilst mir dann erzählen das da soau viel klammer fehler sind