Beiträge von Anonym0ous

    Hey
    Folgendes Problem:
    Wenn man sich einloggt und wieder ausloggt und dann wieder drauf joint kommt Das man 30 Sek warten soll.
    Nach den 30 sek kann man sich nicht einloggen.


    [pwn] if(CheckPasswort(playerid, inputtext) == 1) // Wir holen uns das Passwort aus der MySQL Datenbank und überprüfen es mit dem angegebenen passwort.
    {
    if(NotJoin == 1)
    {
    format(string, sizeof(string), "Du musst warten bis dein Logout Pickup weg ist. {0087FF}(%d Sekunden)", OffPickup[StepID][OffZeit]);
    ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "Login", string,"Login","Abbruch");
    return 1;
    }
    strmid(PlayerInfo[playerid][pKey], inputtext, 0, strlen(inputtext), 255);
    OnPlayerLogin(playerid);
    CancelSelectTextDraw(playerid);
    return 1;
    }
    else
    {
    //Wenn das Passwort falsch war, lassen wir erneut das Login fenster erscheinen damit der Spieler das Richtige Passwort eingibt.
    ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "Login", "Das eingegebene Passwort ist Falsch, bitte versuche es erneut.","Login","Abbruch");
    return 1;
    }
    }
    }
    return 1;
    }[/pwn]

    Hey
    Wie muss ich das um Scripten das es geht?public DelayDestroyCar(playerid, CarKey2)
    {


    Carlist[playerid][CarKey2][TankVolumen] = Gas[Carlist[playerid][CarKey2][Carid]];
    DestroyVehicleSelfmade(Carlist[playerid][CarKey2][Carid]);
    Carlist[playerid][CarKey2][Status] = 2;
    Carlist[playerid][CarKey2][Carid] = -1;
    Carlist[playerid][CarKey2][RepairTime] = (10*60)+Time();
    return 1;
    }

    Hey
    Warum funktioniert das nicht immer wenn ich einsteige und /buygangcar mache geht es nicht mehr weiter:
    if(strcmp("/buygangcar", cmd, true) == 0)
    {
    if(PlayerInfo[playerid][pLeader] != -1 || PlayerInfo[playerid][pRank] == 12)
    {
    new Farbe,
    GangCars = 0;
    if(PlayerInfo[playerid][pTeam] == 4 || PlayerInfo[playerid][pTeam] == 14 || PlayerInfo[playerid][pTeam] == 7 || PlayerInfo[playerid][pTeam] == 16)
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, " Deine Fraktion ist nicht Berechtigt Gangautos zu Kaufen.");
    return 1;
    }
    if(IsPlayerInAnyVehicle(playerid) && GangAutoSpectating[playerid] != -1)
    {
    new GangAutoPreis = GangAutoKaufliste[GangAutoSpectating[playerid]][GAPreis];
    if(GangAutoPreis >= KassenInfo[PlayerInfo[playerid][pTeam]][tKasse])
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, " Es ist nicht mehr genug Geld in der Teamkasse !");
    return 1;
    }
    else
    {
    if(PlayerInfo[playerid][pTeam] == 1)
    {
    Farbe = 0;
    }
    if(PlayerInfo[playerid][pTeam] == 2)
    {
    Farbe = 154;
    }
    if(PlayerInfo[playerid][pTeam] == 3)
    {
    Farbe = 120;
    }
    if(PlayerInfo[playerid][pTeam] == 4)
    {
    Farbe = 3;
    }
    if(PlayerInfo[playerid][pTeam] == 5)
    {
    Farbe = 0;
    }
    if(PlayerInfo[playerid][pTeam] == 6)
    {
    Farbe = 8;
    }
    if(PlayerInfo[playerid][pTeam] == 7)
    {
    Farbe = -1;
    }
    if(PlayerInfo[playerid][pTeam] == 8)
    {
    Farbe = -1;
    }
    if(PlayerInfo[playerid][pTeam] == 9)
    {
    Farbe = 61;
    }
    if(PlayerInfo[playerid][pTeam] == 10)
    {
    Farbe = -1;
    }
    if(PlayerInfo[playerid][pTeam] == 11)
    {
    Farbe = 1;
    }
    if(PlayerInfo[playerid][pTeam] == 12)
    {
    Farbe = 0;
    }
    if(PlayerInfo[playerid][pTeam] == 13)
    {
    Farbe = 1;
    }
    if(PlayerInfo[playerid][pTeam] == 14)
    {
    Farbe = -1;
    }
    if(PlayerInfo[playerid][pTeam] == 15)
    {
    Farbe = 0;
    }
    if(PlayerInfo[playerid][pTeam] == 16)
    {
    Farbe = -1;
    }
    if(PlayerInfo[playerid][pTeam] == 17)
    {
    Farbe = 152;
    }
    if(PlayerInfo[playerid][pTeam] == 18)
    {
    Farbe = 93;
    }
    if(PlayerInfo[playerid][pTeam] == 19)
    {
    Farbe = 86;
    }
    if(PlayerInfo[playerid][pTeam] == 20)
    {
    Farbe = 85;
    }
    if(PlayerInfo[playerid][pTeam] == 21)
    {
    Farbe = 66;
    }
    if(PlayerInfo[playerid][pTeam] == 22)
    {
    Farbe = 79;
    }
    if(PlayerInfo[playerid][pTeam] == 23)
    {
    Farbe = 3;
    }
    if(PlayerInfo[playerid][pTeam] == 24)
    {
    Farbe = 6;
    }
    if(PlayerInfo[playerid][pTeam] == 25)
    {
    Farbe = 104;
    }
    if(PlayerInfo[playerid][pTeam] == 26)
    {
    Farbe = 123;
    }
    for(new h = 0; h < sizeof(GangAutoInfo); h++){
    if(GangAutoInfo[h][cOwner] == PlayerInfo[playerid][pTeam])
    {
    GangCars += 1;
    }
    if(GangCars >= 25)
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, " Deine Gang hat schon 25 Gangautos!");
    return 1;
    }
    }
    for(new h = 0; h < sizeof(GangAutoInfo); h++){
    if(GangAutoInfo[h][cOwner] == -1 && GangAutoInfo[h][cTyp] == -1 && GangAutoInfo[h][cColor1] == -1 && GangAutoInfo[h][cColor2] == -1){
    GangAutoInfo[h][cOwner] = PlayerInfo[playerid][pTeam];
    GangAutoInfo[h][cID] = -1;
    GangAutoInfo[h][cTyp] = GangAutoKaufliste[GangAutoSpectating[playerid]][GAModelid];
    new Zufall = random(4);
    if(Zufall == 0)
    {
    GangAutoInfo[h][cPosX] = 391;
    GangAutoInfo[h][cPosY] = 2442;
    GangAutoInfo[h][cPosZ] = 18;
    }
    else if(Zufall == 1)
    {
    GangAutoInfo[h][cPosX] = 401;
    GangAutoInfo[h][cPosY] = 2442;
    GangAutoInfo[h][cPosZ] = 18;
    }
    else if(Zufall == 2)
    {
    GangAutoInfo[h][cPosX] = 411;
    GangAutoInfo[h][cPosY] = 2442;
    GangAutoInfo[h][cPosZ] = 18;
    }
    else
    {
    GangAutoInfo[h][cPosX] = 421;
    GangAutoInfo[h][cPosY] = 2442;
    GangAutoInfo[h][cPosZ] = 18;
    }
    GangAutoInfo[h][cRot] = 90;
    GangAutoInfo[h][cColor1] = Farbe;
    GangAutoInfo[h][cColor2] = Farbe;
    GangAutoInfo[h][cStatus] = 0;
    GangAutoInfo[h][cTank] = 100;
    GangAutoInfo[h][cMeter] = 0;
    CreateNewlyGangAutos(h);
    KassenInfo[PlayerInfo[playerid][pTeam]][tKasse] -= GangAutoPreis;
    format(string, sizeof(string), "Gang Car erfolgreich gekauft für %s$, das Geld wurde von der Teamkasse abgezogen.", GetPoint(GangAutoPreis));
    SendClientMessage(playerid, COLOR_YELLOW, string);
    SetPlayerCheckpoint(playerid,403.7779,2478.6750,16.4844,5.0);
    SendClientMessage(playerid, COLOR_GRAD2,"Du Kannst dir das Fahrzeug am roten Checkpoint abholen.");
    TogglePlayerControllable(playerid,1);
    ForAllPlayers(i){
    if(IsPlayerConnected(i)){
    SetVehicleParamsForPlayer(GangAutoKaufliste[GangAutoSpectating[playerid]][GACarid],i,0,0);
    }}
    GangAutoSpectating[playerid] = -1;
    RemovePlayerFromVehicle(playerid);
    break;
    }
    }
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, " Du besichtigst kein Gang Auto !");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_ERRORTEXT, " Du bist kein Leader !");
    return 1;
    }
    return 1;
    }


    Danke im vorraus.

    Mach dir mal das Crashdetect Plugin rein und poste den neuen Log


    [22:10:09] [debug] Run time error 19: "File or function is not found"
    [22:10:09] [debug] SSCANF_Init
    [22:10:09] [debug] SSCANF_Join
    [22:10:09] [debug] SSCANF_Leave
    [22:10:09] [debug] Run time error 19: "File or function is not found"
    [22:10:09] [debug] SSCANF_Init
    [22:10:09] [debug] SSCANF_Join
    [22:10:09] [debug] SSCANF_Leave

    Hey
    Bekomme beim Start immer den Fehler Code:
    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [21:31:56] password = "" (string)
    [21:31:56] gamemode1 = "" (string)
    [21:31:56] gamemode2 = "" (string)
    [21:31:56] filterscripts = "" (string)
    [21:31:56]
    [21:31:56] Server Plugins
    [21:31:56] --------------
    [21:31:56] Loading plugin: mysql.so
    [21:31:56]


    > MySQL plugin R5 successfully loaded.


    [21:31:56] Loaded.
    [21:31:56] Loading plugin: streamer.so
    [21:31:56]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [21:31:56] Loaded.
    [21:31:56] Loading plugin: sscanf.so
    [21:31:56]


    [21:31:56] ===============================


    [21:31:56] sscanf plugin loaded.


    [21:31:56] (c) 2009 Alex "Y_Less" Cole


    [21:31:56] ===============================


    [21:31:56] Loaded.
    [21:31:56] Loading plugin: audio.so
    [21:31:56]
    *** Audio Plugin v0.4 by Incognito loaded ***


    [21:31:56] Loaded.
    [21:31:56] Loaded 4 plugins.


    [21:31:56]
    [21:31:56] Ban list
    [21:31:56] --------
    [21:31:56] Loaded: samp.ban
    [21:31:56]
    [21:31:56]
    [21:31:56] Filterscripts
    [21:31:56] ---------------
    [21:31:56] Loaded 0 filterscripts.


    [21:31:56] Script[gamemodes/GNR.amx]: Run time error 19: "File or function is not found"
    [21:31:56] Number of vehicle models: 0

    Hey
    Hab ein Problem sobald ich den Server starten möchte kommt in der Server log das:
    [10:46:20] Server Plugins
    [10:46:20] --------------
    [10:46:20] Loading plugin: mysql.dll
    [10:46:20] Failed (plugins/mysql.dll: invalid ELF header)
    [10:46:20] Loading plugin: filemanager.dll
    [10:46:20] Failed (plugins/filemanager.dll: invalid ELF header)
    [10:46:20] Loading plugin: streamer.dll
    [10:46:20] Failed (plugins/streamer.dll: invalid ELF header)
    [10:46:20] Loading plugin: sscanf.dll
    [10:46:20] Failed (plugins/sscanf.dll: invalid ELF header)
    [10:46:20] Loading plugin: audio.dll
    [10:46:20] Failed (plugins/audio.dll: invalid ELF header)
    [10:46:20] Loaded 0 plugins.


    Wie kann ich das beheben?

    Hey
    Warum kann man die Skins nicht auswählen?
    public OnPlayerText(playerid, text[])
    {
    new string[128], tmp[256];

    if(strfind(text,"weiter",true) != -1)
    {
    if(UmZiehen[playerid] == 1)
    {
    SkinAuswahlsID[playerid] ++;
    if(isPlayerInFrak(playerid,FraktionsSkins[SkinAuswahlsID[playerid]][FraktionsID]))
    {
    SetPlayerSkin(playerid,FraktionsSkins[SkinAuswahlsID[playerid]][fSkinID]);
    return 0;
    }
    }
    }
    if(strfind(text,"zurück",true) != -1)
    {
    if(UmZiehen[playerid] == 1)
    {
    SkinAuswahlsID[playerid] --;
    if(isPlayerInFrak(playerid,FraktionsSkins[SkinAuswahlsID[playerid]][FraktionsID]))
    {
    SetPlayerSkin(playerid,FraktionsSkins[SkinAuswahlsID[playerid]][fSkinID]);
    return 0;
    }
    }
    }
    if(strfind(text,"fertig",true) != -1)
    {
    if(UmZiehen[playerid] == 1)
    {
    UmZiehen[playerid] = 0;
    InviteFrak[playerid] = 0;
    Spieler[playerid][Skin] = GetPlayerSkin(playerid);
    SkinAuswahlsID[playerid] = 0;
    UnfreezePlayer(playerid);
    SendClientMessage(playerid,BLAU,"Du hast dich erfolgreich umgezogen!");
    return 0;
    }
    }


    enum INVITESKIN_INFO
    {
    fSkinID,
    FraktionsID
    }
    new FraktionsSkins[][INVITESKIN_INFO] =
    {
    /*{2,0},{3,0},{6,0},{7,0},{14,0},{15,0},{18,0},{19,0},{20,0},{21,0},{22,0},{23,0},{24,0},{25,0},{26,0},{29,0},{37,0},{45,0},{66,0},{72,0},{73,0},{97,0},{101,0},{134,0},{137,0},{142,0},{180,0},{210,0},{217,0},{220,0},{230,0},{234,0},
    {242,0},{262,0},{269,0},{9,0},{10,0},{11,0},{39,0},{41,0},{54,0},{55,0},{69,0},{77,0},{88,0},{89,0},{90,0},{93,0},{141,0},{190,0},{192,0},{199,0},{211,0},{243,0},{251,0},//Zivilisten
    */{163,1},{164,1},{265,1},{266,1},{267,1},{280,1},{281,1},{282,1},{283,1},{288,1},{163,1},{164,1},{265,1},{266,1},{267,1},{280,1},{281,1},{283,1},{288,1},//Polizei
    {165,2},{266,2},{286,2},{294,2},{165,2},{166,2},{286,2},{294,2},//FBI
    {70,3},{274,3},{275,3},{276,3},{193,3},//Sanitäter
    {2,4},{3,4},{6,4},{7,4},{14,4},{15,4},{18,4},{19,4},{20,4},{21,4},{22,4},{23,4},{24,4},{25,4},{29,4},{37,4},{45,4},{66,4},{72,4},{73,4},{97,4},{101,4},{134,4},{137,4},{142,4},{156,4},{180,4},{210,4},{217,4},{220,4},{230,4},{234,4},
    {242,4},{262,4},{286,4},{9,4},{10,4},{11,4},{39,4},{41,4},{54,4},{55,4},{69,4},{77,4},{88,4},{89,4},{90,4},{93,4},{141,4},{190,4},{192,4},{211,4},{243,4},{251,4},//Hitman
    {60,5},{170,5},{188,5},{227,5},{240,5},{250,5},{56,5},{229},//News Reporter
    {34,6},{44,6},{132,6},{133,6},{202,6},{206,6},{261,6},//Transport GmbH
    {71,7},{50,7},{8,7},{233,7},//Ordnungsamt
    {111,8},{112,8},{113,8},{124,8},{125,8},{126,8},{272,8},{40,8},//Russenmafia
    {186,9},{204,9},{203,9},{228,9},{169,9},{224,9},//Yakuza
    {102,10},{103,10},{104,10},{293,10},{13,10},//Ballas
    {105,11},{106,11},{107,11},{269,11},{270,11},{271,11},//Grove Street
    {46,12},{47,12},{48,12},{98,12},{223,12},{214,12},//Los Chickos Malos
    {1,13},//Feuerwehr
    {1,14},//Bundeswehr
    {1,15},//Swat
    {1,16},//Punkx Bikergang
    {1,17},//Aztecas
    {1,18},//Vagos
    {1,19},//West Coast Custom
    {1,20},//2Fast2Furious
    {1,21}//Al Qaida
    },
    SkinAuswahlsID[MAX_PLAYERS],
    UmZiehen[MAX_PLAYERS],


    ocmd:umziehen(playerid,params[])
    {
    if(!IsPlayerInRangeOfPoint(playerid,5.0,215.2158,-155.4814,1000.5234))return SendClientMessage(playerid,ROT,"Du kannst dich hier nicht umziehen!");
    if(UmZiehen[playerid] == 1)return SendClientMessage(playerid,ROT,"Du ziehst dich bereits um!");
    SendClientMessage(playerid,HELLBLAU,"Benutze 'weiter', 'zurück' und 'fertig' um deinen Skin auszuwählen!");
    SendClientMessage(playerid,HELLBLAU,"Schreibe es einfach ganz normal in den Chat.");
    UmZiehen[playerid] = 1;
    FreezePlayer(playerid);
    return 1;
    }


    if(dialogid==DIALOG_INVITE)
    {
    if(response)
    {
    if(InviteFrak[playerid] == 0)
    {
    return SendClientMessage(playerid, ROT, "Du wurdest in keine Fraktion eingeladen.");
    }
    else
    {
    Spieler[playerid][Team] = InviteFrak[playerid];
    UmZiehen[playerid] = 1;
    SendClientMessage(playerid,HELLBLAU,"Benutze 'weiter', 'zurück' und 'fertig' um deinen Skin auszuwählen!");
    SendClientMessage(playerid,HELLBLAU,"Schreibe es einfach ganz normal in den Chat.");
    Spieler[playerid][Leader] = 0;
    Spieler[playerid][Rank] = 0;
    }
    }
    if(!response)
    {
    SendClientMessage(playerid, ROT, "Du hast die Einladung abgelehnt.");
    return 1;
    }
    }

    Denk dir zu deinem Thema noch ein Gliederungspunkt aus. 3 Minuten sind viel zu wenig und gibts starken Abzug. Du wirst während der Präsentation keine Zeit sehen. Wenn du stark überziehst brechen die Prüfer ab, wenn du drunter bist sagen sie nichts.

    Yolo muss morgen was kann man machen das es länger dauert.

    Abend.


    Die Präsentation durfte bei mir 5 Minuten gehen. Man sollte ca 4:50-5:10 Minuten halten.
    Dann eben noch das Hörverständnis und der 5 Minuten Dialog mit deinem Partner.


    MfG


    Und was soll man machen wenn sie nur 3 min geht?