Beiträge von Chry

    Ich möchte mal meine Map Dschungel-DM vorstellen.
    Sie liegt in der nähe ls in der luft, außerdemhat sie viele verstecke.
    Ist aber eher für Dm-Server gedacht!


    Download findet ihr unten, als Objekte datei.


    Viel Spaß damit !

    EDIT: Hab das mal überarbeitet.


    Bitte Bewerten!


    Screens :








    Lage : ( Luft)




    Pastbin

    Hast glaub vergessen den speed wie schnell die gates auf und zu gehen sollen vergessen.


    Probiers mal so.


    if (strcmp(cmdtext, "/LCNauf1", true)==0)
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    MoveObject(LCNGATE1, 310.98355102539, -1481.5341796875, 24.930641174316,4);
    {
    else
    {
    SendClientMessage(playerid, COLOR_GRAU,"Du bist Kein LCN Mitglied!");
    }
    return 1;
    }


    if (strcmp(cmdtext, "/LCNzu1", true)==0)
    {
    MoveObject(LCNGATE1, 283.14761352539, -1542.5267333984, 23.856300354004,324.27026367188,4);
    return 1;
    }


    if (strcmp(cmdtext, "/LCNauf2", true)==0)
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    MoveObject(LCNGATE2, 290.4501953125, -1550.5693359375, 23.59375,4);
    {
    else
    {
    SendClientMessage(playerid, COLOR_GRAU,"Du bist Kein LCN Mitglied!");
    }
    return 1;
    }


    if (strcmp(cmdtext, "/LCNzu2", true)==0)
    {
    MoveObject(LCNGATE2, 321.08966064453, -1488.1831054688, 23.608072280884,324.26696777344,4);
    return 1;
    }

    enum ahCar
    {
    Typ,
    Float:X,
    Float:Y,
    Float:Z,
    Float:Rotation,
    Status,
    Lock,
    Carid,
    Paintjob,
    Color1,
    Color2,
    mod1,
    mod2,
    mod3,
    mod4,
    mod5,
    mod6,
    mod7,
    mod8,
    mod9,
    mod10,
    mod11,
    mod12,
    mod13,
    mod14,
    mod15,
    mod16,
    mod17,
    };
    new Carlist[MAX_PLAYERS][ahCar];


    enum ahSpawn
    {
    Float:X,
    Float:Y,
    Float:Z,
    Float:Rotation,
    };
    new Carspawns[2][ahSpawn] = {
    {739.7457,-1343.8668,13.2828,270.2592},
    {-1639.3599,1198.1665,6.9527,269.9673}
    };


    enum ahModel
    {
    Name[128],
    Autohaus,
    Modelid,
    Carid,
    Price,
    Repair,
    Float:X,
    Float:Y,
    Float:Z,
    Float:Rotation,
    };
    new Buylist[34][ahModel] = {
    {"Stallion",0,439,-1,750000,5000,783.0,-1335.0,13.2,121.1,20000},
    {"Feltzer",0,533,-1,500000,3000,783.0,-1340.0,13.2,121.1,20000},
    {"Windsor",0,555,-1,450000,3400,783.0,-1345.0,13.2,121.1,20000},
    {"Blade",0,536,-1,350000,3000,783.0,-1350.0,13.2,121.1,20000},
    {"Remington",0,534,-1,500000,3000,783.0,-1355.0,13.2,121.1,20000},
    {"Savanna",0,567,-1,350000,3000,783.0,-1360.0,13.2,121.1,20000},
    {"Slamvan",0,535,-1,500000,3000,783.0,-1365.0,13.2,121.1,20000},
    {"Voodoo",0,412,-1,500000,3000,783.0,-1370.0,13.2,121.1,20000},
    {"Huntley",0,579,-1,200000,1000,783.0,-1375.0,13.2,121.1,20000},
    {"Buccaneer",0,518,-1,120000,1000,783.0,-1380.0,13.2,121.1,20000},
    {"Clover",0,542,-1,35000,500,765.0,-1360.0,13.4,301.1,20000},
    {"Elegant",0,507,-1,40000,650,765.0,-1365.0,13.4,301.1,20000},
    {"Elegy",0,562,-1,1500000,10000,765.0,-1370.0,13.4,301.1,20000},
    {"Esperanto",0,419,-1,65000,650,765.0,-1375.0,13.4,301.1,20000},
    {"Fortune",0,526,-1,35000,500,765.0,-1380.0,13.4,301.1,20000},
    {"Sultan",0,560,-1,1500000,10000,766.0,-1333.0,13.3,211.1,20000},
    {"Sunrise",0,550,-1,300000,2000,761.0,-1333.0,13.3,211.1,20000},
    {"Vincent",0,540,-1,280000,2000,756.0,-1333.0,13.3,211.1,20000},
    {"Alpha",0,602,-1,230000,2000,751.0,-1333.0,13.3,211.1,20000},
    {"Banshee",0,429,-1,1000000,5500,746.0,-1333.0,13.3,211.1,20000},
    {"Blista Compact",1,496,-1,350000,2500,-1668.6447,1207.0372,7.0249,309.5959,20000},
    {"Buffalo",1,402,-1,500000,3000,-1663.6709,1215.2883,7.0234,274.9868,20000},
    {"Bullet",1,541,-1,7500000,17500,-1651.3892,1210.3469,7.0208,281.3321},
    {"Cheetah",1,415,-1,4000000,10000,-1677.3560,1207.8099,13.4461,208.2602,20000},
    {"Club",1,589,-1,70000,750,-1665.7789,1222.4406,13.4485,279.6459,20000},
    {"Euros",1,587,-1,650000,7000,-1660.7256,1217.6407,13.4444,283.1553,20000},
    {"Infernus",1,411,-1,1500000,7000,-1653.2462,1210.7842,13.4460,266.7211,20000},
    {"Jester",1,559,-1,1500000,10000,-1676.0128,1207.1641,20.9248,261.5029,20000},
    {"Phoenix",1,603,-1,600000,4000,-1664.4386,1206.8241,20.9289,332.5978,20000},
    {"Super GT",1,506,-1,12500000,20000,-1651.6372,1208.2538,20.9231,305.1015,20000},
    {"Turismo",1,451,-1,13000000,20000,-1665.1248,1222.7113,20.9265,267.4103,20000},
    {"Uranus",1,558,-1,850000,10000,-1661.1943,1217.9629,20.9268,286.1662,20000},
    {"ZR-350",1,477,-1,6500000,7000,-1654.3116,1214.8097,20.9267,173.5712,20000},
    {"Faggio",0,462,-1,10000,500,750.7272,-1358.3872,13.0996,273.7736,20000}
    };

    Geht nicht die 20000 war absicht.


    {"Stallion",0,439,-1,750000,5000,783.0,-1335.0,13.2,121.1,20000},
    {"Feltzer",0,533,-1,500000,3000,783.0,-1340.0,13.2,121.1,20000},
    {"Windsor",0,555,-1,450000,3400,783.0,-1345.0,13.2,121.1,20000},
    {"Blade",0,536,-1,350000,3000,783.0,-1350.0,13.2,121.1,20000},
    {"Remington",0,534,-1,500000,3000,783.0,-1355.0,13.2,121.1,20000},
    {"Savanna",0,567,-1,350000,3000,783.0,-1360.0,13.2,121.1,20000},
    {"Slamvan",0,535,-1,500000,3000,783.0,-1365.0,13.2,121.1,20000},
    {"Voodoo",0,412,-1,500000,3000,783.0,-1370.0,13.2,121.1,20000},
    {"Huntley",0,579,-1,200000,1000,783.0,-1375.0,13.2,121.1,20000},
    {"Buccaneer",0,518,-1,120000,1000,783.0,-1380.0,13.2,121.1,20000},
    {"Clover",0,542,-1,35000,500,765.0,-1360.0,13.4,301.1,20000},
    {"Elegant",0,507,-1,40000,650,765.0,-1365.0,13.4,301.1,20000},
    {"Elegy",0,562,-1,1500000,10000,765.0,-1370.0,13.4,301.1,20000},
    {"Esperanto",0,419,-1,65000,650,765.0,-1375.0,13.4,301.1,20000},
    {"Fortune",0,526,-1,35000,500,765.0,-1380.0,13.4,301.1,20000},
    {"Sultan",0,560,-1,1500000,10000,766.0,-1333.0,13.3,211.1,20000},
    {"Sunrise",0,550,-1,300000,2000,761.0,-1333.0,13.3,211.1,20000},
    {"Vincent",0,540,-1,280000,2000,756.0,-1333.0,13.3,211.1,20000},
    {"Alpha",0,602,-1,230000,2000,751.0,-1333.0,13.3,211.1,20000},
    {"Banshee",0,429,-1,1000000,5500,746.0,-1333.0,13.3,211.1,20000},
    {"Blista Compact",1,496,-1,350000,2500,-1668.6447,1207.0372,7.0249,309.5959,20000},
    {"Buffalo",1,402,-1,500000,3000,-1663.6709,1215.2883,7.0234,274.9868,20000},
    {"Bullet",1,541,-1,7500000,17500,-1651.3892,1210.3469,7.0208,281.3321},
    {"Cheetah",1,415,-1,4000000,10000,-1677.3560,1207.8099,13.4461,208.2602,20000},
    {"Club",1,589,-1,70000,750,-1665.7789,1222.4406,13.4485,279.6459,20000},
    {"Euros",1,587,-1,650000,7000,-1660.7256,1217.6407,13.4444,283.1553,20000},
    {"Infernus",1,411,-1,1500000,7000,-1653.2462,1210.7842,13.4460,266.7211,20000},
    {"Jester",1,559,-1,1500000,10000,-1676.0128,1207.1641,20.9248,261.5029,20000},
    {"Phoenix",1,603,-1,600000,4000,-1664.4386,1206.8241,20.9289,332.5978,20000},
    {"Super GT",1,506,-1,12500000,20000,-1651.6372,1208.2538,20.9231,305.1015,20000},
    {"Turismo",1,451,-1,13000000,20000,-1665.1248,1222.7113,20.9265,267.4103,20000},
    {"Uranus",1,558,-1,850000,10000,-1661.1943,1217.9629,20.9268,286.1662,20000},
    {"ZR-350",1,477,-1,6500000,7000,-1654.3116,1214.8097,20.9267,173.5712,20000},
    {"Faggio",0,462,-1,10000,500,750.7272,-1358.3872,13.0996,273.7736,20000}



    Fehler :


    C:\Dokumente und Einstellungen\Vaio\Desktop\Filterscripts\auto.pwn(106) : warning 227: more initiallers than enum fields
    C:\Dokumente und Einstellungen\Vaio\Desktop\Filterscripts\auto.pwn(106) : error 018: initialization data exceeds declared size
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    Hallo wie füge ich den filterscript hier...


    #include <a_samp>


    #pragma tabsize 0
    #define COLOR_YELLOW 0xFFFF00AA
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    new y_gate;



    public OnFilterScriptInit()
    {CreateObject(1684, 824.119934, -1834.153320, 13.069763, 0.0000, 0.0000, 360.0000);
    CreateObject(1684, 848.804565, -1834.385498, 12.976656, 0.0000, 0.0000, 0.0000);
    CreateObject(9623, 836.681580, -1842.893311, 14.415219, 0.0000, 0.0000, 0.0000);


    AddStaticVehicle(432,848.5007,-2056.4290,12.8911,89.2728,0,0); //
    AddStaticVehicle(432,848.5089,-2050.5977,12.9016,89.6423,43,0); //
    AddStaticVehicle(433,847.6479,-2039.3992,13.2938,90.6921,43,0); //
    AddStaticVehicle(433,847.8966,-2035.0530,13.3465,88.6693,43,0); //
    AddStaticVehicle(470,848.2187,-2031.2402,12.8600,89.5424,43,0); //
    AddStaticVehicle(470,848.1216,-2027.0566,12.8580,89.4611,43,0); //
    AddStaticVehicle(471,849.5718,-2042.4751,12.3476,88.7758,120,113); //
    AddStaticVehicle(471,849.4443,-2044.7155,12.3491,91.9350,120,117); //
    AddStaticVehicle(520,847.1396,-2010.4507,13.6206,94.9345,0,0); //
    AddStaticVehicle(522,847.5651,-2024.0438,12.4398,90.5258,7,79); //
    AddStaticVehicle(522,847.5501,-2022.4180,12.4405,85.8836,36,105); //
    AddStaticVehicle(525,848.3598,-2018.8285,12.7439,93.6221,36,43); //
    AddStaticVehicle(528,850.0544,-2003.8496,12.9099,89.0295,0,0); //
    AddStaticVehicle(539,850.0480,-2061.1599,12.2272,91.9639,70,86); //
    AddStaticVehicle(548,847.5917,-1994.1929,14.5189,95.8910,1,1); //
    AddStaticVehicle(556,822.3979,-2043.2081,13.2427,269.5538,1,1); //


    y_gate = CreateObject(969, 828.070068, -1837.711304, 12.112743, 0.0000, 0.0000, 0.0000);


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


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    #endif


    if (strcmp(cmdtext, "/m1open", true) == 0){
    MoveObject(y_gate,827.885071, -1838.381226, 17.202259,4);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    if (strcmp(cmdtext, "/m1close", true) == 0){
    MoveObject(y_gate,828.070068, -1837.711304, 12.112743,4);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    return 0;
    }

    Und den hier zusammen.


    #include <a_samp>


    #pragma tabsize 0
    #define COLOR_YELLOW 0xFFFF00AA
    #define FILTERSCRIPT
    #if defined FILTERSCRIPT
    new y_gate;



    public OnFilterScriptInit()
    {
    y_gate = CreateObject(969, 836.911926, -1837.723633, 12.105799, 0.0000, 0.0000, 0.0000);


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


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else


    #endif


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/m1open", true) == 0){
    MoveObject(y_gate,836.868469, -1838.381226, 17.201031,4);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    if (strcmp(cmdtext, "/m1close", true) == 0){
    MoveObject(y_gate,836.911926, -1837.723633, 12.105799,4);
    SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
    return 1;
    }
    return 0;
    }