Beiträge von SSL

    Lesen lesen lesen...

    new JoinPed[56][1] = {
    {280},//POLICE_FORCE
    {281},
    {282},
    {283},
    {284},
    {285},
    {288},
    {71},
    {166},
    {295},
    {148},
    {286},//FBI/ATF
    {164},
    {163},
    {287},//NATIONAL_GUARD
    {285},
    {70},//FIRE/AMBULANCE
    {274},
    {275},
    {276},
    {277},
    {278},
    {279},
    {258},//LA_COSA_NOSTRA
    {127},
    {126},
    {125},
    {124},
    {113},
    {111},
    {98},
    {120},//YAKUZA
    {121},
    {122},
    {123},
    {169},
    {186},
    {228},
    {127},//HITMANS
    {165},
    {186},
    {93},
    {141},
    {148},//NEWS_REPORTERS
    {188},
    {187},
    {255},//TAXI_CAB_COMPANY
    {253},
    {59},//DRIVING/FLYING_SCHOOL
    {60},//DRIVING/FLYING_SCHOOL
    {76},//DRIVING/FLYING_SCHOOL
    {150}//DRIVING/FLYING_SCHOOL
    };

    Ich kann zwar kein AHK, aber AutoIt, hier mal der Code:


    config.txt:
    Zeile1: welcher buchstabe gedrückt wird, um den gleichen buchstaben zu drücken
    Zeile2: wieviel mal es wiederholt werden soll
    Zeile3: welcher abstand zwischen dem drücken sein soll.

    Doppelpost ist verboten, dazu gibt es den Editier Button.
    Dann mach die Max_Stream_Objects define oder wie die heißt runter, dann wird die amx auch kleiner.
    5000 -10000 sollte reichen

    Also wenn man das nicht weiß muss man erstmal die Grundlagen von Pawn lernen...
    dcmd(givescore, 4, cmdtext);

    das kommt in onplayercommandtext
    dcmd_givescore(playerid,params[])
    {
    new pID,neueslvl;
    if(sscanf(params,"ud",pID,neueslvl)) return SendClientMessage(playerid,Farberot,"Falsche Eingabe!");
    if(Player[playerid][Administrator] > 1)
    {
    SetPlayerScore(pID,neueslvl);
    Player[pID][Level] = neueslvl;
    }
    return 1;
    }

    das kommt ganz untne ins script bzw ausserhalb eines callbacks/publics



    #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
    kommt ganz oben hin(zu den anderen defines)


    Wenn du es jetzt nicht hinbekommst, kann dir keiner weiterhelfen


    #include <MidoStream>
    public OnFilterScriptInit()
    {
    //Alien Arena
    CreateStreamObject(12911, 324.77041625977, 1827.4755859375, 16.490627288818, 0, 0, 11.25, 500);
    CreateStreamObject(16641, 333.81689453125, 1849.9371337891, 18.345481872559, 0, 0, 0, 500);
    CreateStreamObject(5822, 288.97482299805, 1819.6821289063, 18.49017906189, 0, 0, 184.5, 500);
    CreateStreamObject(5822, 280.52908325195, 1818.0610351563, 18.49017906189, 0, 0, 4.4989013671875, 500);
    CreateStreamObject(971, 96.7578125, 1920.7889404297, 20.671213150024, 0, 0, 90, 500);
    CreateStreamObject(2780, 218.24197387695, 1875.7436523438, 12.325590133667, 0, 0, 0, 500);
    CreateStreamObject(2780, 214.00888061523, 1876.0949707031, 11.325605392456, 0, 0, 0, 500);
    CreateStreamObject(2780, 210.66065979004, 1876.1624755859, 11.350605010986, 0, 0, 0, 500);
    CreateStreamObject(16782, 215.92752075195, 1923.3536376953, 18.583763122559, 0, 0, 270, 500);
    CreateStreamObject(16782, 206.86833190918, 1923.2913818359, 18.583763122559, 0, 0, 270, 500);
    CreateStreamObject(16782, 197.95666503906, 1923.3728027344, 18.583763122559, 0, 0, 270, 500);
    CreateStreamObject(1681, 203.11396789551, 1927.2598876953, 25.157514572144, 309, 0, 0, 500);
    CreateStreamObject(1683, 146.83578491211, 1772.6173095703, 22.793251037598, 4.7247924804688, 38.15283203125, 14.297637939453, 500);
    CreateStreamObject(3816, 349.0837097168, 1946.6766357422, 25.185955047607, 0, 0, 270, 500);
    CreateStreamObject(3884, 321.63439941406, 1913.63671875, 27.90549659729, 0, 0, 120, 500);
    CreateStreamObject(3884, 320.90414428711, 1979.5888671875, 27.90549659729, 0, 0, 110, 500);
    CreateStreamObject(2977, 319.21829223633, 1935.1770019531, 16.515626907349, 0, 0, 0, 500);
    CreateStreamObject(2977, 319.2177734375, 1935.1767578125, 17.540618896484, 0, 0, 0, 500);
    CreateStreamObject(2977, 318.99584960938, 1934.0578613281, 16.565633773804, 0, 0, 0, 500);
    CreateStreamObject(2977, 318.9951171875, 1934.0576171875, 17.565637588501, 0, 0, 0, 500);
    CreateStreamObject(2977, 319.06958007813, 1933.060546875, 16.56565284729, 0, 0, 0, 500);
    CreateStreamObject(2977, 319.16906738281, 1933.0678710938, 17.590637207031, 0, 0, 0, 500);
    CreateStreamObject(3791, 371.35037231445, 1950.9539794922, 17.132921218872, 0, 0, 0, 500);
    CreateStreamObject(3791, 371.24307250977, 1952.701171875, 17.116523742676, 0, 0, 0, 500);
    CreateStreamObject(3795, 371.4619140625, 1949.4868164063, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 371.52667236328, 1948.0250244141, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 371.9655456543, 1946.3120117188, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 366.95199584961, 1949.9174804688, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 366.79321289063, 1947.6865234375, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 368.1164855957, 1945.7993164063, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 367.53103637695, 1951.7807617188, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 368.0149230957, 1953.8754882813, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(3795, 372.38009643555, 1953.7895507813, 17.009256362915, 0, 0, 0, 500);
    CreateStreamObject(987, 376.50607299805, 1956.9630126953, 16.668251037598, 0, 0, 180, 500);
    CreateStreamObject(987, 364.3645324707, 1957.1667480469, 16.668251037598, 0, 0, 269.99450683594, 500);
    CreateStreamObject(987, 365.59124755859, 1942.2438964844, 16.668251037598, 0, 0, 5.989013671875, 500);
    CreateStreamObject(987, 340.27401733398, 1794.6762695313, 15.890636444092, 1.2485656738281, 357.24938964844, 35.559997558594, 500);
    CreateStreamObject(10773, 174.08505249023, 1915.8078613281, 19.8932762146, 0, 0, 0, 500);
    CreateStreamObject(12861, 335.29055786133, 1880.8448486328, 16.535703659058, 0, 0, 359.75, 500);
    CreateStreamObject(1225, 244.44938659668, 1861.9483642578, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 240.97241210938, 1859.9697265625, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 238.58137512207, 1858.6094970703, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 240.10215759277, 1859.4749755859, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 242.49186706543, 1860.8348388672, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 242.4912109375, 1860.833984375, 17.326965332031, 0, 0, 0, 500);
    CreateStreamObject(1225, 249.29644775391, 1901.6351318359, 20.038915634155, 0, 0, 0, 500);
    CreateStreamObject(1225, 231.46797180176, 1903.1259765625, 17.288915634155, 0, 0, 0, 500);
    CreateStreamObject(1225, 220.68673706055, 1883.1711425781, 17.288915634155, 0, 0, 4, 500);
    CreateStreamObject(1225, 202.53985595703, 1877.1448974609, 17.288915634155, 0, 0, 3.9990234375, 500);
    CreateStreamObject(1225, 196.59619140625, 1887.568359375, 17.288915634155, 0, 0, 3.9990234375, 500);
    CreateStreamObject(1225, 199.31646728516, 1909.5472412109, 17.288915634155, 0, 356, 3.9990234375, 500);
    CreateStreamObject(1225, 212.65017700195, 1909.3773193359, 17.288915634155, 0, 355.99548339844, 357.99353027344, 500);
    CreateStreamObject(1225, 212.6494140625, 1909.376953125, 17.288915634155, 0, 355.98999023438, 357.98950195313, 500);
    }


    public join(playerid)
    {
    new Text:joinleave;
    joinleave = TextDrawCreate(3.000000,436.000000,"sdfsd");
    TextDrawUseBox(joinleave,1);
    TextDrawBoxColor(joinleave,0x00000066);
    TextDrawTextSize(joinleave,290.000000,0.000000);
    TextDrawAlignment(joinleave,0);
    TextDrawBackgroundColor(joinleave,0x000000ff);
    TextDrawFont(joinleave,3);
    TextDrawLetterSize(joinleave,1.000000,1.000000);
    TextDrawColor(joinleave,0xffffffff);
    TextDrawSetOutline(joinleave,1);
    TextDrawSetProportional(joinleave,1);
    TextDrawSetShadow(joinleave,1);
    TextDrawShowForPlayer(playerid,joinleave);
    }