Beiträge von whitetiiger

    hallo wie schon in der überschrift zulesen hab ich ein paar bugs in mein vorläuigen FS rein gebastelt


    die ich aber eigendlich nicht haben wollte


    also der BUG ist :
    wenn ich etwas laufe/spawnpunkt und gebe da /auftrag ein kommt ein dialog obwohl ich nicht m in der nähe bin
    ich poste heir ma mein ganzes FS ich hoffe ich darf das von Breatfish aus



    /*
    new string[256];
    if(Checkpoint[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_RED, "Muell aufgeladen, weiter!");
    format(string, sizeof(string), "** Du hast %d$ Trinkgeld bekommen!",trinkgeld);
    SendClientMessage(playerid, FROT, string);
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, -89.2432,-1189.7782,2.3241, 5.0);
    Checkpoint[playerid] = 2;
    }
    else if(Checkpoint[playerid] == 2)
    {
    SendClientMessage(playerid, FROT, "Du hast für die Tour $200 bekommen!");
    GivePlayerMoney(playerid, 200);
    }

    */


    #include <a_samp>
    #define FROT 0xFF0000FF


    #if defined FILTERSCRIPT


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


    public OnFilterScriptExit()
    {
    return 1;
    }


    #else
    #endif



    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)
    {
    return 1;
    }


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


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


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp("/auftrag", cmdtext, true, 10) == 0)
    {
    IsPlayerInRangeOfPoint(playerid, 15,1273.2681,-1828.8411,13.3864);
    ShowPlayerDialog(playerid,1, DIALOG_STYLE_LIST, "AUFTRAEGE von Tante-Willi1","SKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,1271.7482,-1852.7041,130.3828);
    ShowPlayerDialog(playerid,2, DIALOG_STYLE_LIST, "AUFTRAEGE von SKY2","Tante-Willi \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,1282.9170,-1853.7219,130.3906);
    ShowPlayerDialog(playerid,3, DIALOG_STYLE_LIST, "AUFTRAEGE von ALDI Nord","Tante-Willi \nSKY \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,1293.3368,-1854.6715,130.3828);
    ShowPlayerDialog(playerid,4, DIALOG_STYLE_LIST, "AUFTRAEGE von schwarzer NETTO","Tante-Willi \nSKY \nALDI Nord \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,1304.3079,-1855.6713,130.3828);
    ShowPlayerDialog(playerid,5, DIALOG_STYLE_LIST, "AUFTRAEGE von REWE","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,6, DIALOG_STYLE_LIST, "AUFTRAEGE von roter NETTO","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,7, DIALOG_STYLE_LIST, "AUFTRAEGE von ALDI süd","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,8, DIALOG_STYLE_LIST, "AUFTRAEGE von extra","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,9, DIALOG_STYLE_LIST, "AUFTRAEGE von REAL","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,10, DIALOG_STYLE_LIST, "AUFTRAEGE von Kaufland","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nEDEKA \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,11, DIALOG_STYLE_LIST, "AUFTRAEGE von EDEKA","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nMarktkauf \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,12, DIALOG_STYLE_LIST, "AUFTRAEGE von Marktkauf","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nNAHundFRISCH \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,13, DIALOG_STYLE_LIST, "AUFTRAEGE von NAHundFRISCH","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra\nREAL \nKaufland \nEDEKA \nMarktkauf \ntante-Emma ", "Auswählen", "Abbrechen");
    IsPlayerInRangeOfPoint(playerid, 15,0.0,0.0,0.0);
    ShowPlayerDialog(playerid,14, DIALOG_STYLE_LIST, "AUFTRAEGE von tante-Emma","Tante-Willi \nSKY \nALDI Nord \nschwarzer NETTO \nREWE \nroter NETTO \nALDI nord \nextra \nREAL \nKaufland \nEDEKA \nMarktkauf \nNAHundFRISCH ", "Auswählen", "Abbrechen");
    }
    else
    {
    SendClientMessage(playerid,FROT,"Du bist nicht an einer Ladestation!.");
    }
    if (strcmp("/suche", cmdtext, true, 10) == 0)
    {

    return 1;
    }

    return 1;
    }
    // ||if (strcmp("/fsuche", cmdtext, true, 10) == 0||if (strcmp("/such", cmdtext, true, 10)
    public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
    {
    return 1;
    }


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


    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
    return 1;
    }
    public OnPlayerEnterCheckpoint(playerid)
    {
    //FRIMA 1
    new Checkpoint[MAX_PLAYERS];//START
    if(Checkpoint[playerid] == 1)
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1378.1361,-1873.5402,13.3828, 1.0);
    Checkpoint[playerid] = 2;
    }
    else if(Checkpoint[playerid] == 2)
    {
    SendClientMessage(playerid, FROT, "Du hast für die Tour $2000 bekommen!");
    GivePlayerMoney(playerid, 2000);
    }//ZIEL
    //FIRMA 2
    if(Checkpoint[playerid] == 3)
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1378.1361,-1873.5402,13.3828, 1.0);
    Checkpoint[playerid] = 4;
    }
    else if(Checkpoint[playerid] == 4)
    {
    SendClientMessage(playerid, FROT, "Du hast für die Tour $200 bekommen!");
    GivePlayerMoney(playerid, 200);
    }
    //FIRMA 3
    if(Checkpoint[playerid] == 5)
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 1378.1361,-1873.5402,13.3828, 1.0);
    Checkpoint[playerid] = 6;
    }
    else if(Checkpoint[playerid] == 6)
    {
    SendClientMessage(playerid, FROT, "Du hast für die Tour $200 bekommen!");
    GivePlayerMoney(playerid, 200);
    }
    //FIRMA 4
    if(Checkpoint[playerid] == 7)
    {
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, -89.2432,-1189.7782,2.3241, 5.0);
    Checkpoint[playerid] = 8;
    }
    else if(Checkpoint[playerid] == 8)
    {
    SendClientMessage(playerid, FROT, "Du hast für die Tour $200 bekommen!");
    GivePlayerMoney(playerid, 200);
    }
    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[])
    {
    if(dialogid == 1)
    {
    if(response)
    {
    if(listitem == 0)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 1;
    return 1;
    }
    if(listitem == 1)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 3;
    return 1;
    }
    if(listitem == 2)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 5;
    return 1;
    }
    if(listitem == 3)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 7;
    return 1;
    }
    if(listitem == 4)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 9;
    return 1;
    }
    if(listitem == 5)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 11;
    return 1;
    }
    if(listitem == 6)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 13;
    return 1;
    }
    if(listitem == 12)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 15;
    return 1;
    }
    if(listitem == 13)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 16;
    return 1;
    }
    if(listitem == 0)
    {
    new Checkpoint[MAX_PLAYERS];
    Checkpoint[playerid] = 18;
    return 1;
    }
    }
    }
    return 1;
    }


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



    wäre wegen einer hilfreichen Antwort sehrdankbar


    P.S. wenn ich den motor versuche anzmachen komm da du bist nicht am ladeplatz also den text der bei "IsPlayerInRangeOfPoint" unter "else"

    Hallo zusammen


    ich hab folgendes problem


    unzwar hab ich mir von hier denn "Lift Script in German" (filterscript) gedownloaded


    und auf meine admin base umgeformt


    jetzt mein problem


    jetzt kann noch jeder mit dem lift fahren ich will dass aber nicht und da dachte ich vll gibt es ein befehl der nur mich hoch und runter fahren lässt


    wenn mir einer ein code schnipsel geben könnte aber bitte oben und unten so 3-4 zeil noch denn ich bin totaler script anfänger


    oder oder das ihr mir denn es gleich vervollständigen


    mein absatz lautet







    if (strcmp(cmdtext, "/cab", true)==0)
    {
    MoveObject(lift,1841.7698974609, -1301.3332519531, 12.0202, 3.0);
    SetTimer("liftClose", 200000, 0);
    GameTextForPlayer(playerid, "~w~Super ~r~Lift! ~w~By ~r~[XRS]GTAFreak ]]]",2000, 4 );
    SendClientMessage(playerid, 0x2641FEAA,"Du bist in der Admin Base!!!");
    return 1;
    }




    DANKE