Beiträge von xKiller20

    ich würde gerne das script für meinen server benutzen und weiterbearbeiten , kann es aber nicht downloaden , hat jemand einen LINK oder so ?(:?:
    Wäre echt cool 8):?:

    Hallo , ich suche jemanden der mir im Script mein Login/register System ändert
    und jemanden der mir eine MYSQL Tabelle erstellt .
    Wer mich helfen will soll mich bitte in skype adden und anschreiben
    skype : kevinschwach
    falls das der falsche Ordner ist verschiebt ihn bitte .

    Hallo ich bins wieder , ich wollte fragen wo man hier die Farbe ändern kann


    PoliceVehs[0] = AddStaticVehicleEx(497,1566.80090000,-1653.85050000,28.57030000,91.80570000,-1,1,-1); //Police Maverick
    PoliceVehs[1] = AddStaticVehicleEx(497,1566.79250000,-1700.25120000,28.57400000,90.87040000,-1,1,-1); //Police Maverick
    PoliceVehs[2] = AddStaticVehicleEx(596,1591.51750000,-1711.11120000,5.61160000,1.77110000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[3] = AddStaticVehicleEx(596,1595.43660000,-1711.14860000,5.61190000,358.95290000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[4] = AddStaticVehicleEx(596,1600.89830000,-1704.31090000,5.61190000,88.98850000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[5] = AddStaticVehicleEx(596,1600.93160000,-1700.15060000,5.61250000,88.50060000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[6] = AddStaticVehicleEx(596,1600.90500000,-1696.08440000,5.61120000,89.65850000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[7] = AddStaticVehicleEx(596,1601.11020000,-1691.99460000,5.61190000,88.84040000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[8] = AddStaticVehicleEx(596,1601.25570000,-1688.13720000,5.61330000,90.12140000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[9] = AddStaticVehicleEx(596,1601.27100000,-1683.89670000,5.61080000,89.57540000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[10] = AddStaticVehicleEx(427,1585.53860000,-1671.70790000,6.02610000,269.00130000,-1,1,-1); //Enforcer
    PoliceVehs[11] = AddStaticVehicleEx(427,1585.63350000,-1667.82790000,6.02410000,269.30210000,-1,1,-1); //Enforcer
    PoliceVehs[12] = AddStaticVehicleEx(599,1528.63280000,-1688.02050000,6.08300000,270.11600000,-1,1,-1); //Police Ranger
    PoliceVehs[13] = AddStaticVehicleEx(599,1528.69560000,-1683.94620000,6.07490000,269.47640000,-1,1,-1); //Police Ranger
    PoliceVehs[14] = AddStaticVehicleEx(598,1558.72520000,-1711.58020000,5.63970000,359.64760000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[15] = AddStaticVehicleEx(598,1564.25460000,-1711.37940000,5.63440000,359.79720000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[16] = AddStaticVehicleEx(597,1578.66390000,-1711.00270000,5.65950000,0.02730000,-1,1,-1); //Police Car (SFPD)
    PoliceVehs[17] = AddStaticVehicleEx(597,1570.44620000,-1711.51230000,5.66010000,359.00250000,-1,1,-1); //Police Car (SFPD)
    PoliceVehs[18] = AddStaticVehicleEx(597,1574.35960000,-1711.01330000,5.65970000,0.48820000,-1,1,-1); //Police Car (SFPD)
    PoliceVehs[19] = AddStaticVehicleEx(596,1587.52580000,-1711.20280000,5.61190000,359.04770000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[20] = AddStaticVehicleEx(596,1583.42650000,-1711.29440000,5.61080000,359.52900000,-1,1,-1); //Police Car (LSPD)
    PoliceVehs[21] = AddStaticVehicleEx(523,1535.88530000,-1697.25450000,5.46150000,296.30170000,-1,1,-1); //HPV1000
    PoliceVehs[22] = AddStaticVehicleEx(523,1536.60890000,-1698.37350000,5.46190000,301.63620000,-1,1,-1); //HPV1000
    PoliceVehs[23] = AddStaticVehicleEx(523,1535.51290000,-1695.96670000,5.45970000,295.33860000,-1,1,-1); //HPV1000
    PoliceVehs[24] = AddStaticVehicleEx(523,1537.36510000,-1699.09880000,5.46080000,304.34280000,-1,1,-1); //HPV1000
    PoliceVehs[25] = AddStaticVehicleEx(523,1538.13590000,-1700.10800000,5.46040000,304.78460000,-1,1,-1); //HPV1000
    PoliceVehs[26] = AddStaticVehicleEx(560,1546.00220000,-1684.35510000,5.59630000,89.36540000,-1,1,-1); //Sultan
    PoliceVehs[27] = AddStaticVehicleEx(560,1546.18430000,-1680.22840000,5.59610000,90.23350000,-1,1,-1); //Sultan
    PoliceVehs[28] = AddStaticVehicleEx(505,1545.87300000,-1676.24550000,6.03460000,91.62650000,-1,1,-1); //Rancher
    PoliceVehs[29] = AddStaticVehicleEx(505,1545.66360000,-1672.09720000,6.03400000,88.60040000,-1,1,-1); //Rancher
    PoliceVehs[37] = AddStaticVehicleEx(598,2701.92290000,-2365.05960000,13.30760000,146.05130000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[38] = AddStaticVehicleEx(598,2706.30300000,-2365.26780000,13.37760000,144.96230000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[39] = AddStaticVehicleEx(598,2711.04860000,-2365.31810000,13.37780000,142.96840000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[40] = AddStaticVehicleEx(598,2715.66190000,-2365.77780000,13.37880000,143.07250000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[43] = AddStaticVehicleEx(598,2714.84500000,-2386.12720000,13.37920000,35.60870000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[44] = AddStaticVehicleEx(598,2710.54980000,-2386.26270000,13.33630000,32.28230000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[45] = AddStaticVehicleEx(598,2706.37330000,-2386.27030000,13.38510000,35.26240000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[46] = AddStaticVehicleEx(598,2701.71750000,-2386.29350000,13.35600000,34.09130000,-1,1,-1); //Police Car (LVPD)
    PoliceVehs[47] = AddStaticVehicleEx(490,2676.20410000,-2346.84790000,13.76060000,183.50410000,-1,-1,-1); //FBI Rancher
    PoliceVehs[48] = AddStaticVehicleEx(490,2675.37300000,-2336.25370000,13.76110000,183.38020000,-1,-1,-1); //FBI Rancher
    PoliceVehs[49] = AddStaticVehicleEx(528,2668.70700000,-2335.96700000,13.67680000,179.07760000,1,1,-1); //FBI Truck
    PoliceVehs[50] = AddStaticVehicleEx(528,2668.56490000,-2347.05810000,13.67780000,178.87000000,1,1,-1); //FBI Truck
    PoliceVehs[51] = AddStaticVehicleEx(490,2661.97750000,-2347.31370000,13.76100000,178.03660000,-1,-1,-1); //FBI Rancher
    PoliceVehs[52] = AddStaticVehicleEx(490,2662.29960000,-2336.24980000,13.76090000,178.11290000,-1,-1,-1); //FBI Rancher
    PoliceVehs[53] = AddStaticVehicleEx(427,2638.88650000,-2348.41670000,13.76550000,179.55100000,-1,1,-1); //Enforcer
    PoliceVehs[54] = AddStaticVehicleEx(427,2640.83640000,-2337.78590000,13.76550000,177.34980000,-1,1,-1); //Enforcer
    PoliceVehs[55] = AddStaticVehicleEx(427,2636.46360000,-2337.53740000,13.76560000,179.95650000,-1,1,-1); //Enforcer
    PoliceVehs[56] = AddStaticVehicleEx(427,2632.59230000,-2337.62080000,13.76380000,176.06940000,-1,1,-1); //Enforcer
    PoliceVehs[57] = AddStaticVehicleEx(427,2628.53170000,-2337.55690000,13.76560000,180.52290000,-1,1,-1); //Enforcer
    PoliceVehs[58] = AddStaticVehicleEx(427,2631.11620000,-2348.68360000,13.76420000,178.71500000,-1,1,-1); //Enforcer
    PoliceVehs[59] = AddStaticVehicleEx(601,2642.80000000,-2348.58150000,13.39250000,180.05890000,1,1,-1); //S.W.A.T. Van
    PoliceVehs[60] = AddStaticVehicleEx(601,2634.90060000,-2348.03050000,13.39390000,178.01890000,1,1,-1); //S.W.A.T. Van
    PoliceVehs[61] = AddStaticVehicleEx(601,2627.37210000,-2347.91650000,13.39220000,181.78100000,1,1,-1); //S.W.A.T. Van
    PoliceVehs[63] = AddStaticVehicleEx(497,2622.47580000,-2388.07960000,13.75160000,90.36900000,-1,1,-1); //Police Maverick

    Hallo ,
    Ich habe ein Problem , bei mir leuchtet das Blaulicht nicht . Was ist hier falsch ?


    // This is a comment
    // uncomment the line below if you want to write a filterscript
    //#define FILTERSCRIPT


    #include <a_samp>


    new sirene[MAX_VEHICLES];
    new sirene1[MAX_VEHICLES];
    new sirene2[MAX_VEHICLES];
    new sirene3[MAX_VEHICLES];
    new sirene4[MAX_VEHICLES];
    //new sirene5[MAX_VEHICLES];
    new UCL[MAX_VEHICLES];// das ist nur wegen der "if" anfrage
    //new tmpcar;


    #if defined FILTERSCRIPT


    public OnFilterScriptInit()



    public OnFilterScriptExit()



    #endif


    public OnGameModeInit()
    {
    // Don't use these lines if it's a filterscript
    SetGameModeText("German Reallife");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
    }


    public OnGameModeExit()
    {
    return 1;
    }


    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 OnPlayerDeath(playerid, killerid, reason)
    {
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    DestroyObject(sirene[vehicleid]);
    DestroyObject(sirene1[vehicleid]);
    DestroyObject(sirene2[vehicleid]);
    DestroyObject(sirene3[vehicleid]);
    UCL[vehicleid] = 0;//ist wegen der "if" Anfrage beim /command
    }


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


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(strcmp(cmdtext, "/ucl",true) == 0)
    {
    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(19419,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.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 415)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 451)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),00.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 541)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 470)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 421)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 405)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 426)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 517)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.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
    UCL[GetPlayerVehicleID(playerid)] = 1;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    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.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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    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.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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    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.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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 411)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19288,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,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.0,2.6,0,0,0,0);//Vorne Mitte
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    return 1;
    }
    else if(GetVehicleModel(tmpcar) == 561)
    {
    sirene[GetPlayerVehicleID(playerid)] = CreateObject(19419,0,0,0,0,0,0,100);
    sirene1[GetPlayerVehicleID(playerid)] = CreateObject(19419,0,0,0,0,0,0,100);
    AttachObjectToVehicle(sirene[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,0.85,0,0,0);//Dach Beifahrer
    AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),0.0,0.0,0.85,0,0,0);//Dach Fahrer
    UCL[GetPlayerVehicleID(playerid)] = 1;
    SendClientMessage(playerid,0xFF0000,"Blaulicht eingeschalten!");
    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;
    SendClientMessage(playerid,0xFF0000,"Blaulicht ausgeschalten!");
    return 1;
    }
    }
    }


    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


    public OnPlayerExitVehicle(playerid, vehicleid)
    {
    return 1;
    }


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }


    public OnPlayerEnterCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerEnterRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
    return 1;
    }


    public OnRconCommand(cmd[])
    {
    return 1;
    }


    public OnPlayerRequestSpawn(playerid)
    {
    return 1;
    }


    public OnObjectMoved(objectid)
    {
    return 1;
    }


    public OnPlayerObjectMoved(playerid, objectid)
    {
    return 1;
    }


    public OnPlayerPickUpPickup(playerid, pickupid)
    {
    return 1;
    }


    public OnVehicleMod(playerid, vehicleid, componentid)
    {
    return 1;
    }


    public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
    {
    return 1;
    }


    public OnVehicleRespray(playerid, vehicleid, color1, color2)
    {
    return 1;
    }


    public OnPlayerSelectedMenuRow(playerid, row)
    {
    return 1;
    }


    public OnPlayerExitedMenu(playerid)
    {
    return 1;
    }


    public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
    {
    return 1;
    }


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    return 1;
    }


    public OnRconLoginAttempt(ip[], password[], success)
    {
    return 1;
    }


    public OnPlayerUpdate(playerid)
    {
    return 1;
    }


    public OnPlayerStreamIn(playerid, forplayerid)
    {
    return 1;
    }


    public OnPlayerStreamOut(playerid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamIn(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnVehicleStreamOut(vehicleid, forplayerid)
    {
    return 1;
    }


    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    return 1;
    }


    public OnPlayerClickPlayer(playerid, clickedplayerid, source)
    {
    return 1;
    }

    Hier der Link zu den Bild :


    http://imageshack.us/photo/my-images/811/samp000fz.png/


    Der Befehl funzt , aber es leuchtet nicht . Hilfe :!: