Beiträge von Hamst0r

    Bitte helft mir :p
    Also ich kann die Server Gruppe "Gast" nicht löschen, möchte aber dafor noch ein paar andere Gruppen haben da sie dann besser geordnet sind.
    Also wie mache ich das?
    mfg

    So, habe ein Auto System wo man den Motor an /aus machen kann via Dialog.
    Aber ich kann nun nur in deinen System oder im Auto System was auswählen, aber es tut sich nichts hier mein Dialog Respone:
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    if(dialogid == 0)
    {
    if(response)
    {
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE,"»Viel Spaß beim spielen!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTBLUE," ");
    SendClientMessage(playerid,COLOR_LIGHTRED,"»Schade, einen schönen Tag noch!");
    Kick(playerid);
    }
    return 1;
    }
    return 0;


    new engine,lights,alarm,doors,bonnet,boot,objective;
    new veh = GetPlayerVehicleID(playerid);
    if(dialogid == 3621)
    {
    if(!response) return SendClientMessage(playerid, GRAU, "System geeschlossen");
    switch(listitem)
    {
    case 0:
    {
    if(GetPVarInt(playerid, "Lights") == 0)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,VEHICLE_PARAMS_ON,alarm,doors,bonnet,boot,objective);
    SetPVarInt(playerid, "Lights", 1);
    }
    else if(GetPVarInt(playerid, "Lights") == 1)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective);
    SetPVarInt(playerid, "Lights", 0);
    }
    }
    case 1:
    {
    if(GetPVarInt(playerid, "Bonnet") == 0)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,alarm,doors,VEHICLE_PARAMS_ON,boot,objective);
    SetPVarInt(playerid, "Bonnet", 1);
    }
    else if(GetPVarInt(playerid, "Bonnet") == 1)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,alarm,doors,VEHICLE_PARAMS_OFF,boot,objective);
    SetPVarInt(playerid, "Bonnet", 0);
    }
    }
    case 2:
    {
    if(GetPVarInt(playerid, "Boot") == 0)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,VEHICLE_PARAMS_ON,objective);
    SetPVarInt(playerid, "Boot", 1);
    }
    else if(GetPVarInt(playerid, "Boot") == 1)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,VEHICLE_PARAMS_OFF,objective);
    SetPVarInt(playerid, "Boot", 0);
    }
    }
    case 3:
    {
    if(GetPVarInt(playerid, "Alarm") == 0)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_ON,doors,bonnet,boot,objective);
    SetPVarInt(playerid, "Alarm", 1);
    }
    else if(GetPVarInt(playerid, "Alarm") == 1)
    {
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(veh,engine,lights,VEHICLE_PARAMS_OFF,doors,bonnet,boot,objective);
    SetPVarInt(playerid, "Alarm", 0);
    }
    }
    }
    return 1;
    }
    return 1;

    if(dialogid==DIALOG_TUNING)
    {
    if(response)
    {
    if(listitem == 0)
    {
    ShowPlayerDialog(playerid,DIALOG_SPOILER, DIALOG_STYLE_LIST, "Spoiler", "Pro Spoiler\nWin Spoiler\nDrag Spoiler\nAlpha Spoiler\nRace Spoiler", "Ok", "");
    }


    if(listitem == 1)
    {
    ShowPlayerDialog(playerid, DIALOG_REIFEN, DIALOG_STYLE_LIST, "Reifen", "Shadow Reifen\nMega Reifen\nTwist Reifen\nCutter Reifen\nGrove Reifen\nDollar Reifen", "Ok", "");
    }
    if(listitem == 2)
    {
    ShowPlayerDialog(playerid, DIALOG_NITRO, DIALOG_STYLE_LIST, "Nitro", "2x Nitro\n5x Nitro\n10x Nitro", "Ok", "");
    }
    if(listitem ==3)
    {
    ShowPlayerDialog(playerid, DIALOG_HYDRAULICS, DIALOG_STYLE_LIST, "Hydraulics", "Hydraulics", "Ok", "");
    }
    if(listitem == 4)
    {
    ShowPlayerDialog(playerid, DIALOG_SONSTIGETUNING, DIALOG_STYLE_LIST, "Sonstige", "Champ Scoop Hood\nFoory Scoop Hood\nRace Scoop Hood\nRoof Scoop Roof\nRechtes Sideskirt\nRound Fog Lamp", "Ok", "");
    }


    if(listitem == 5)
    {
    ShowPlayerDialog(playerid, DIALOG_LACKIERUNG, DIALOG_STYLE_LIST, "Lackierung", "Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink", "Ok", "");
    }
    if(listitem == 6)
    {
    ShowPlayerDialog(playerid, DIALOG_TUNINGWEG, DIALOG_STYLE_LIST, "Tuning entfernen", "Tuning weg", "Ok", "");
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREEN, "Du hast das Tuning abgebrochen.");
    }
    }


    if(dialogid==DIALOG_SPOILER)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    AddVehicleComponent(Car,1000);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }


    if(listitem==1)
    {
    AddVehicleComponent(Car,1001);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==2)
    {
    AddVehicleComponent(Car,1002);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==3)
    {
    AddVehicleComponent(Car,1003);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==4)
    {
    AddVehicleComponent(Car,1015);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    }
    }


    if(dialogid==DIALOG_REIFEN)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    AddVehicleComponent(Car,1073);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }


    if(listitem==1)
    {
    AddVehicleComponent(Car,1074);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==2)
    {
    AddVehicleComponent(Car,1078);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==3)
    {
    AddVehicleComponent(Car,1079);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==4)
    {
    AddVehicleComponent(Car,1081);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==5)
    {
    AddVehicleComponent(Car,1083);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    }
    }


    if(dialogid==DIALOG_NITRO)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    AddVehicleComponent(Car,1009);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }


    if(listitem==1)
    {
    AddVehicleComponent(Car,1008);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==2)
    {
    AddVehicleComponent(Car,1010);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    }
    }


    if(dialogid==DIALOG_HYDRAULICS)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    AddVehicleComponent(Car,1087);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    }
    }


    if(dialogid==DIALOG_SONSTIGETUNING)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    AddVehicleComponent(Car,1004);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }


    if(listitem==1)
    {
    AddVehicleComponent(Car,1005);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==2)
    {
    AddVehicleComponent(Car,1011);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==3)
    {
    AddVehicleComponent(Car,1006);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==4)
    {
    AddVehicleComponent(Car,1007);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    if(listitem==5)
    {
    AddVehicleComponent(Car,1013);
    SendClientMessage(playerid, COLOR_GREEN,"Tuning hinzugefügt!");
    }
    }
    }


    if(dialogid==DIALOG_LACKIERUNG)
    {
    if(response)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,1,1);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==1)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,2,2);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==2)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,0,0);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==3)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,3,3);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==4)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,6,6);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==5)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,16,16);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    if(listitem==6)
    {
    //Weiß\nBlau\nSchwarz\nRot\nGelb\nGrün\nPink
    ChangeVehicleColor(Car,126,126);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Farbe geändert!");
    }
    }
    }
    }
    if(dialogid==DIALOG_TUNINGWEG)
    {
    if(response)
    {
    new Car;
    Car = GetPlayerVehicleID(playerid);
    if(listitem==0)
    {
    RemoveVehicleComponent(Car,1013);
    RemoveVehicleComponent(Car,1007);
    RemoveVehicleComponent(Car,1006);
    RemoveVehicleComponent(Car,1011);
    RemoveVehicleComponent(Car,1005);
    RemoveVehicleComponent(Car,1004);
    RemoveVehicleComponent(Car,1087);
    RemoveVehicleComponent(Car,1010);
    RemoveVehicleComponent(Car,1008);
    RemoveVehicleComponent(Car,1009);
    RemoveVehicleComponent(Car,1083);
    RemoveVehicleComponent(Car,1081);
    RemoveVehicleComponent(Car,1079);
    RemoveVehicleComponent(Car,1078);
    RemoveVehicleComponent(Car,1074);
    RemoveVehicleComponent(Car,1073);
    RemoveVehicleComponent(Car,1015);
    RemoveVehicleComponent(Car,1000);
    RemoveVehicleComponent(Car,1001);
    RemoveVehicleComponent(Car,1002);
    RemoveVehicleComponent(Car,1003);
    SendClientMessage(playerid, COLOR_RED,"Tunings entfernt!");
    }
    }
    }
    }

    Hehe,
    will die Piss anim rein machen aber bekomme nen Error.
    C:\Users\Raffael\Desktop\Selfmade DM\gamemodes\Movie.pwn(410) : error 017: undefined symbol "SPECIAL_ACTION_PISSING"
    if (strcmp(cmdtext, "/piss", true)==0)
    {
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_PISSING);
    return 1;
    }

    Da ich die PWN Datei nicht mehr finde vom Gamemode.
    Es soll nämlich für ein Servermovie sein :p




    #include <a_samp>
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT


    #define ROT 0xE10000FF


    new UCL[MAX_VEHICLES];
    new sirene[MAX_VEHICLES];//Sirene 1
    new sirene1[MAX_VEHICLES];//Sirene 2
    new sirene2[MAX_VEHICLES];//Sirene 3
    new sirene3[MAX_VEHICLES];//Sirene 4
    new sirene4[MAX_VEHICLES];//Sirene 5



    public OnFilterScriptInit()
    {
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    main()
    {
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
    }


    #endif



    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }


    public OnPlayerConnect(playerid)
    {
    return 1;
    }


    public OnPlayerDisconnect(playerid, reason)
    {
    return 1;
    }


    public OnPlayerSpawn(playerid)
    {
    return 1;
    }



    public OnVehicleSpawn(vehicleid)
    {
    return 1;
    }


    public OnVehicleDeath(vehicleid, killerid)
    {
    return 1;
    }


    public OnPlayerText(playerid, text[])
    {
    return 1;
    }


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp("/blaulicht", cmdtext, true) == 0)
    {
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    if(UCL[GetPlayerVehicleID(playerid)] == 0)
    {
    new tmpcar = GetPlayerVehicleID(playerid);
    if(GetVehicleModel(tmpcar) == 560)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene4[GetPlayerVehicleID(playerid)] = CreateObject(19292,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    AttachObjectToVehicle(sirene4[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0,0.9,0.4,0,0,0);//Mittig im Fenster
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 415)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,-0.2,0.65,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 451)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.45,-0.3,0.6,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 541)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.45,-0.1,0.65,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 470)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.6,0.2,1.1,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 421)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0.2,0.72,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 405)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0,0.78,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 426)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0,0.88,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 517)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.6,0,0.85,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 598)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 597)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 596)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 411)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene2[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene3[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0 ,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.44,0.3,0.7,0,0,0);//Dach sirene
    AttachObjectToVehicle(sirene2[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.7,2.6,0,0,0,0);//Vorne Licht Beifahrerseite
    AttachObjectToVehicle(sirene3[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.7,2.6,0,0,0,0);//Vorne Licht Fahrerseite
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 561)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.4,0.1,0.85,0,0,0);//Dach Beifahrer
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.4,0.1,0.85,0,0,0);//Dach Fahrer
    UCL[GetPlayerVehicleID(playerid)] = 1;
    return 1;
    }
    }
    else if(UCL[GetPlayerVehicleID(playerid)] == 1)
    {
    DestroyObject(sirene[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene1[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene2[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene3[GetPlayerVehicleID(playerid)]);
    DestroyObject(sirene4[GetPlayerVehicleID(playerid)]);
    UCL[GetPlayerVehicleID(playerid)] = 0;
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, ROT, "Du sitzt in keinem Fahrzeug!");
    return 1;
    }
    return 1 ;
    }
    }
    return 0;
    }



    Jetzt habe ich nen weiteren Error 8|


    C:\Users\Raffael\Desktop\Selfmade DM - Kopie\filterscripts\Blaulicht.pwn(6) : error 031: unknown directive



    //Close habe den Fehler :p