Beiträge von LeftDead

    nien ich meine das doch nicht im meine die


    if(PlayerToPoint(6.0, playerid, 268.3327,77.8972,1001.0391) || PlayerToPoint(15.0, playerid,1537.2515,-1674.9572,13.3828) || PlayerToPoint(6.0, playerid, 1528.9080,-1678.0759,5.8906))


    Das sind 3 verschidene

    if(strcmp(cmd, "/arrest", true) == 0 || strcmp(cmd, "/a1", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht im Dienst!");
    return 1;
    }
    /*if(!PlayerToPoint(6.0, playerid, 268.3090,79.7730,1001.0391) || PlayerToPoint(6.0, playerid, 1530.1536,-1677.9229,5.8906) || PlayerToPoint(6.0, playerid, -1607.0941,674.9252,-5.2422))
    {// Jail spot
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht in der nähe des Gefängnisses | Garage!");
    return 1;
    }*/
    if(PlayerToPoint(6.0, playerid, 268.3327,77.8972,1001.0391) || PlayerToPoint(15.0, playerid,1537.2515,-1674.9572,13.3828) || PlayerToPoint(6.0, playerid, 1528.9080,-1678.0759,5.8906))
    {

    tmp = strtok(cmdtext, idx);
    }
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    moneys = strval(tmp);
    if(moneys < 1 || moneys > 50000) { SendClientMessage(playerid, COLOR_GREY, " Jail Price can't be below $1 or above $99999 !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new time = strval(tmp);
    if(time < 1 || time > 20) { SendClientMessage(playerid, COLOR_GREY, " Knastzeit muss zwischen 1 und 20 Minuten(Für mehr Minuten gibts Prison) !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new bail = strval(tmp);
    if(bail < 0 || bail > 1) { SendClientMessage(playerid, COLOR_GREY, " Kann nur zwischen 0 und 1 liegen !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest)1 [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new bailprice = strval(tmp);
    if(bailprice < 0 || bailprice > 100000) { SendClientMessage(playerid, COLOR_GREY, " Kaution kann nicht über 100.000$ liegen!"); return 1; }
    new suspect = GetClosestPlayer(playerid);
    if(IsPlayerConnected(suspect))
    {
    if(GetDistanceBetweenPlayers(playerid,suspect) < 5)
    {
    GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(WantedLevel[suspect] < 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Der Spieler muss mindestens 2 Wanteds haben!");
    return 1;
    }
    format(string, sizeof(string), "* Du verhaftest %s !", giveplayer);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    GivePlayerMoney(suspect, -moneys);
    format(string, sizeof(string), "Verhaftet %s ~n~ Für $%d", sendername, moneys);
    GameTextForPlayer(suspect, string, 5000, 5);
    ResetPlayerWeapons(suspect);
    if(PlayerInfo[playerid][pMember]== 1 || PlayerInfo[playerid][pLeader]== 1)
    {
    format(string, sizeof(string), "<< Officer %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 2 || PlayerInfo[playerid][pLeader]== 2)
    {
    format(string, sizeof(string), "<< Officer %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 21 || PlayerInfo[playerid][pLeader]== 21)
    {
    format(string, sizeof(string), "<< FBI Agent %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 3 || PlayerInfo[playerid][pLeader]== 3)
    {
    format(string, sizeof(string), "<< Soldat %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    if(bail == 1)
    {
    JailPrice[suspect] = bailprice;
    format(string, sizeof(string), "Du wurdest eingesperrt für %d Sekunden. Kaution: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
    SendClientMessage(suspect, COLOR_GRAD3, string);
    }
    else
    {
    JailPrice[suspect] = 0;
    format(string, sizeof(string), "Du wurdest eingesperrt für %d Sekunden. Kaution: Unable", PlayerInfo[suspect][pJailTime]);
    SendClientMessage(suspect, COLOR_GRAD3, string);
    }
    SetPlayerInterior(suspect, 6);
    SetPlayerPos(suspect,264.6288,77.5742,1001.0391);
    PlayerInfo[suspect][pJailTime] = time * 60;
    PlayerInfo[suspect][pJailed] = 1;
    PlayerInfo[suspect][pArrested] += 1;
    SetPlayerFree(suspect,playerid, "Verhaftet");
    WantedPoints[giveplayerid] = 0;
    WantedLevel[giveplayerid] = 0;
    ClearCrime(giveplayerid);
    SetPlayerWantedLevel(giveplayerid,0);
    WantLawyer[suspect] = 1;
    }//distance
    }//not connected
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " No-one close enough to arrest.");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist kein Beamter!");
    return 1;
    }
    }//not connected
    return 1;
    }

    Hallo Liebe Breadfish user


    Ich hette da einen kleinen scriptwunsch


    Ich habe das Loh 0.4 Script und ich möchte das man von der garage aus jemanden einknasten kann


    (in lspd Garage)
    Könnte mir vill einer nen tut schreiben oder einen erstellen


    mit /arrest Minuten kosten kaution Kautionspreis


    Sowas halt

    Hallo


    Ich wollte mal fragen warum man


    wenn man jemand mit /arrest einknastet die verbrechte einen crash bekommen


    hier ist der befehl


    if(strcmp(cmd, "/arrest", true) == 0 || strcmp(cmd, "/a1", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht im Dienst!");
    return 1;
    }
    /*if(!PlayerToPoint(6.0, playerid, 268.3090,79.7730,1001.0391) || PlayerToPoint(6.0, playerid, 1530.1536,-1677.9229,5.8906) || PlayerToPoint(6.0, playerid, -1607.0941,674.9252,-5.2422))
    {// Jail spot
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht in der nähe des Gefängnisses | Garage!");
    return 1;
    }*/
    if(PlayerToPoint(6.0, playerid, 268.3327,77.8972,1001.0391) || PlayerToPoint(15.0, playerid,1537.2515,-1674.9572,13.3828) || PlayerToPoint(6.0, playerid, 1528.9080,-1678.0759,5.8906))
    {


    tmp = strtok(cmdtext, idx);
    }
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    moneys = strval(tmp);
    if(moneys < 1 || moneys > 50000) { SendClientMessage(playerid, COLOR_GREY, " Jail Price can't be below $1 or above $99999 !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new time = strval(tmp);
    if(time < 1 || time > 20) { SendClientMessage(playerid, COLOR_GREY, " Knastzeit muss zwischen 1 und 20 Minuten(Für mehr Minuten gibts Prison) !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest) [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new bail = strval(tmp);
    if(bail < 0 || bail > 1) { SendClientMessage(playerid, COLOR_GREY, " Kann nur zwischen 0 und 1 liegen !"); return 1; }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "* /a(rrest)1 [Kosten] [Minuten] [Kaution (0=nein 1=ya)] [Kautionspreis]");
    return 1;
    }
    new bailprice = strval(tmp);
    if(bailprice < 0 || bailprice > 100000) { SendClientMessage(playerid, COLOR_GREY, " Kaution kann nicht über 100.000$ liegen!"); return 1; }
    new suspect = GetClosestPlayer(playerid);
    if(IsPlayerConnected(suspect))
    {
    if(GetDistanceBetweenPlayers(playerid,suspect) < 5)
    {
    GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(WantedLevel[suspect] < 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Der Spieler muss mindestens 2 Wanteds haben!");
    return 1;
    }
    format(string, sizeof(string), "* Du verhaftest %s !", giveplayer);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    GivePlayerMoney(suspect, -moneys);
    format(string, sizeof(string), "Verhaftet %s ~n~ Für $%d", sendername, moneys);
    GameTextForPlayer(suspect, string, 5000, 5);
    ResetPlayerWeapons(suspect);
    if(PlayerInfo[playerid][pMember]== 1 || PlayerInfo[playerid][pLeader]== 1)
    {
    format(string, sizeof(string), "<< Officer %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 2 || PlayerInfo[playerid][pLeader]== 2)
    {
    format(string, sizeof(string), "<< Officer %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 21 || PlayerInfo[playerid][pLeader]== 21)
    {
    format(string, sizeof(string), "<< FBI Agent %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    else if(PlayerInfo[playerid][pMember]== 3 || PlayerInfo[playerid][pLeader]== 3)
    {
    format(string, sizeof(string), "<< Soldat %s %s verhaftet %s für %d Minuten >>", sendername, giveplayer, time);
    OOCNews(COLOR_LIGHTRED, string);
    }
    if(bail == 1)
    {
    JailPrice[suspect] = bailprice;
    format(string, sizeof(string), "Du wurdest eingesperrt für %d Sekunden. Kaution: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]);
    SendClientMessage(suspect, COLOR_GRAD3, string);
    }
    else
    {
    JailPrice[suspect] = 0;
    format(string, sizeof(string), "Du wurdest eingesperrt für %d Sekunden. Kaution: Unable", PlayerInfo[suspect][pJailTime]);
    SendClientMessage(suspect, COLOR_GRAD3, string);
    }
    SetPlayerInterior(suspect, 6);
    SetPlayerPos(suspect,264.6288,77.5742,1001.0391);
    PlayerInfo[suspect][pJailTime] = time * 60;
    PlayerInfo[suspect][pJailed] = 1;
    PlayerInfo[suspect][pArrested] += 1;
    SetPlayerFree(suspect,playerid, "Verhaftet");
    WantedPoints[giveplayerid] = 0;
    WantedLevel[giveplayerid] = 0;
    ClearCrime(giveplayerid);
    SetPlayerWantedLevel(giveplayerid,0);
    WantLawyer[suspect] = 1;
    }//distance
    }//not connected
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " No-one close enough to arrest.");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist kein Beamter!");
    return 1;
    }
    }//not connected
    return 1;
    }

    Hallo


    Wie finde ich die Koordinaten wo ich ein und auszahlen kan bei den befehlen stehen sie nicht dabei


    Hier ist das system


    //----------------------------------[Bank System]-----------------------------------------------
    if(strcmp(cmd, "/withdraw", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pLocal] != 102)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht an der Bank !");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "NUTZUNG: /withdraw [Betrag]");
    format(string, sizeof(string), " Du hast $%d mit deinem Acc.", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    return 1;
    }
    new cashdeposit = strval(tmp);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "NUTZUNG: /withdraw [Betrag]");
    format(string, sizeof(string), " Du hast $%d in deinem Acc.", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    return 1;
    }
    if (cashdeposit > PlayerInfo[playerid][pAccount] || cashdeposit < 1)
    {
    SendClientMessage(playerid, COLOR_GRAD2, " Du hast nicht genug !");
    return 1;
    }
    ConsumingMoney[playerid] = 1;
    GivePlayerMoney(playerid,cashdeposit);
    PlayerInfo[playerid][pAccount]=PlayerInfo[playerid][pAccount]-cashdeposit;
    format(string, sizeof(string), " Du hast $%d von deinem Account genommen. Kasse: $%d ", cashdeposit,PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_YELLOW, string);
    return 1;
    }
    return 1;
    }
    if(strcmp(cmd, "/bank", true) == 0 || strcmp(cmd, "/deposit", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pLocal] != 102)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht an der Bank !");
    return 1;
    }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "NUTZUNG: /bank [Betrag]");
    format(string, sizeof(string), " Du hast $%d auf deinem Account.", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    return 1;
    }
    new cashdeposit = strval(tmp);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid, COLOR_GRAD2, "NUTZUNG: /bank [Betrag]");
    format(string, sizeof(string), " Du hast $%d auf deinem Account.", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_GRAD3, string);
    return 1;
    }
    if (cashdeposit > GetPlayerMoney(playerid) || cashdeposit < 1)
    {
    SendClientMessage(playerid, COLOR_GRAD2, " Du hast nicht so viel");
    return 1;
    }
    GivePlayerMoney(playerid,-cashdeposit);
    new curfunds = PlayerInfo[playerid][pAccount];
    PlayerInfo[playerid][pAccount]=cashdeposit+PlayerInfo[playerid][pAccount];
    SendClientMessage(playerid, COLOR_WHITE, "|___ BANK Erklärung ___|");
    format(string, sizeof(string), " Vorheriger Kontostand: $%d", curfunds);
    SendClientMessage(playerid, COLOR_GRAD2, string);
    format(string, sizeof(string), " Zahlung: $%d",cashdeposit);
    SendClientMessage(playerid, COLOR_GRAD4, string);
    SendClientMessage(playerid, COLOR_GRAD6, "|-----------------------------------------|");
    format(string, sizeof(string), " Neuer Kontostand: $%d", PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_WHITE, string);
    return 1;
    }
    return 1;
    }
    if(strcmp(cmd, "/balance", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pLocal] != 102)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht an der Bank !");
    return 1;
    }
    format(string, sizeof(string), " Du hast $%d auf deinem Account.",PlayerInfo[playerid][pAccount]);
    SendClientMessage(playerid, COLOR_YELLOW, string);
    }
    return 1;
    }

    Hallo ich wollte mal fragen ob mir jemand helfen kann
    und zwar sehe ich in der bank keine objecte





    HIer die Objecte


    //BANKLS
    CreateObject(14789, 1424.690308, -1004.066162, 1643.018677, 0.0000, 0.0000, 90.0000);


    b_CreateObject(2774, 1433.026245, -1004.643921, 1635.819824, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2774, 1429.296997, -1004.618652, 1641.281128, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2774, 1440.957031, -979.682068, 1640.297729, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2774, 1429.337158, -979.545288, 1639.723389, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2774, 1449.314087, -984.505005, 1648.023193, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2774, 1413.914063, -984.515381, 1643.073486, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(1886, 1448.510132, -1003.642944, 1647.093994, 19.7670, 0.0000, 223.3584,0);
    b_CreateObject(1886, 1414.706543, -980.604431, 1647.061646, 19.7670, 0.0000, 43.3584,0);
    b_CreateObject(2774, 1430.416870, -999.017273, 1638.722412, 0.0000, 269.7592, 0.0000,0);
    b_CreateObject(2774, 1408.149292, -998.996826, 1638.722412, 0.0000, 269.7592, 180.0000,0);
    b_CreateObject(2774, 1443.577271, -986.634644, 1638.723389, 0.0000, 269.7592, 270.0000,0);
    b_CreateObject(2774, 1443.604492, -998.998169, 1647.797485, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(11359, 1414.356201, -988.985352, 1639.795898, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(2774, 1413.927368, -986.011719, 1643.046997, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2774, 1413.763672, -992.085388, 1643.673340, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(626, 1427.554565, -997.322998, 1640.766479, 0.0000, 0.0000, 135.0000,0);
    b_CreateObject(626, 1427.488281, -990.752502, 1640.841553, 0.0000, 0.0000, 135.0000,0);
    b_CreateObject(2773, 1427.756714, -995.781189, 1639.310181, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1427.694946, -992.841431, 1639.310181, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1427.596924, -989.128601, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1429.863159, -982.927368, 1639.310181, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(626, 1427.665283, -983.128601, 1640.841553, 0.0000, 0.0000, 236.2500,0);
    b_CreateObject(2773, 1432.755859, -982.990784, 1639.310181, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(626, 1434.648315, -983.188904, 1640.841553, 0.0000, 0.0000, 236.2500,0);
    b_CreateObject(2773, 1437.091431, -983.054993, 1639.310181, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(2773, 1440.040283, -983.012756, 1639.310181, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(3462, 1448.466919, -993.014465, 1640.297974, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(3462, 1448.512085, -982.992615, 1640.181519, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(626, 1441.636230, -997.047729, 1640.741455, 0.0000, 0.0000, 146.2500,0);
    b_CreateObject(14632, 1443.648682, -995.934631, 1638.667725, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(14632, 1432.156372, -1018.015259, 1639.988159, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(1514, 1432.294922, -998.852478, 1639.740112, 0.0000, 0.0000, 180.0000,0);
    b_CreateObject(1514, 1438.352539, -998.846741, 1639.815674, 0.0000, 0.0000, 180.0000,0);
    b_CreateObject(2773, 1435.183838, -996.759277, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1435.152466, -993.932556, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1439.338623, -996.658691, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1439.288940, -994.000671, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(1723, 1426.280151, -994.863586, 1638.707275, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(1723, 1426.244629, -991.150452, 1638.732300, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(1723, 1422.277466, -996.935059, 1638.682251, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(1723, 1422.279297, -993.210022, 1638.657227, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(2637, 1424.232422, -992.173584, 1638.838745, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2637, 1424.228516, -995.704163, 1638.838745, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(3657, 1432.633301, -987.739014, 1639.202393, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(3657, 1432.631104, -986.977234, 1639.202393, 0.0000, 0.0000, 180.0000,0);
    b_CreateObject(3657, 1438.111572, -986.977539, 1639.202393, 0.0000, 0.0000, 180.0000,0);
    b_CreateObject(3657, 1438.086304, -987.730713, 1639.227417, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2961, 1439.028320, -999.826660, 1639.211304, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2961, 1433.505615, -999.827637, 1639.301392, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2946, 1414.355225, -990.513489, 1638.755615, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2946, 1414.380249, -987.392517, 1638.755005, 0.0000, 0.0000, 180.0000,0);
    b_CreateObject(2963, 1424.165283, -1004.815674, 1640.781128, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2963, 1426.806763, -1004.832520, 1640.826904, 0.0000, 0.0000, 90.0000,0);
    b_CreateObject(1886, 1414.730591, -993.523010, 1646.908569, 17.1887, 0.0000, 67.5000,0);
    b_CreateObject(2773, 1431.414551, -996.845825, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2773, 1431.473389, -994.017090, 1639.301514, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(632, 1434.735352, -987.757507, 1639.131226, 0.0000, 0.0000, 213.7500,0);
    b_CreateObject(2942, 1417.713623, -980.475159, 1639.363525, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(1216, 1443.281372, -989.311279, 1639.387817, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2942, 1421.217163, -980.448914, 1639.385498, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(2942, 1424.630493, -980.526672, 1639.371460, 0.0000, 0.0000, 0.0000,0);
    b_CreateObject(1216, 1443.277832, -991.424866, 1639.424194, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(1216, 1443.251221, -987.278198, 1639.376221, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(1216, 1443.259766, -985.484985, 1639.376221, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2773, 1441.228638, -993.042969, 1639.301514, 0.0000, 0.0000, 270.0000,0);
    b_CreateObject(2824, 1424.297241, -992.054932, 1639.247681, 0.0000, 0.0000, 78.7500,0);

    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5903) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5920) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5921) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5929) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5930) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(5939) : warning 217: loose indentation
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    6 Warnings.


    da gibt es was was man reingschreiben kann das die abstehnde und so egal sind
    aber ich weis nimma was es ist :)

    Jop schau


    public OnPlayerPickUpPickup(playerid,pickupid)
    {
    for(new x = 0; x < AUTOHAUSER;x++)
    {
    if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && !Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    TogglePlayerControllable(playerid, 0);
    SetPlayerVirtualWorld(playerid,55+playerid);
    new string[246];
    dtc_AutohausCar[playerid] = 0;
    dtc_AutohausCat[playerid] = x;
    new c1 = random(120);
    new c2 = random(120);
    new car;
    new preis;
    for(new ah = 0; ah < sizeof(dtcKaufliste);ah++)
    {
    if(car == 0 && dtcKaufliste[ah][dtc_Autohaus] == x)
    {
    car = dtcKaufliste[ah][dtc_CarModel];
    preis = dtcKaufliste[ah][dtc_CarModel];
    }
    }
    SetPlayerCameraPos(playerid, DtcSonstiges[x][2][0],DtcSonstiges[x][2][1],DtcSonstiges[x][2][2]);
    SetPlayerCameraLookAt(playerid, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2]);
    dtc_AutohausSCar[playerid] = CreateVehicle(car, DtcSonstiges[x][1][0],DtcSonstiges[x][1][1],DtcSonstiges[x][1][2],DtcSonstiges[x][1][3],c1,c2,-1);
    SetPlayerPos(playerid, DtcSonstiges[x][3][0],DtcSonstiges[x][3][1],DtcSonstiges[x][3][2]);
    SetVehicleVirtualWorld(dtc_AutohausSCar[playerid],55+playerid);
    format(string,sizeof(string),"~r~---------- AUTOHAUS ----------~n~~g~Fahrzeug: ~w~%s~n~~g~Preis: ~w~$%d~n~~b~Auswaehlen:~n~~w~ <Num 4<~b~&~w~>Num 6> ~n~~b~Kaufen:~w~ Enter ~n~~b~Abbrechen:~w~ Tab",CarName[car-400],preis);
    if(!CarKauf[playerid])
    {
    CarKauf[playerid] = TextDrawCreate(200,310,string);
    TextDrawAlignment(CarKauf[playerid],1);
    TextDrawUseBox(CarKauf[playerid],1);
    TextDrawBoxColor(CarKauf[playerid],0x000000FF);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawBackgroundColor(CarKauf[playerid],COLOR_BLACK);
    TextDrawSetOutline(CarKauf[playerid],1);
    TextDrawFont(CarKauf[playerid], 2);
    //TextDrawSetProportional(CarKauf[playerid], 2);
    TextDrawTextSize(CarKauf[playerid],450,410);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    else
    {
    TextDrawHideForPlayer(playerid,CarKauf[playerid]);
    TextDrawSetString(CarKauf[playerid],string);
    TextDrawShowForPlayer(playerid,CarKauf[playerid]);
    }
    }
    else if(PlayerToPoint(1.5, playerid, DtcSonstiges[x][0][0],DtcSonstiges[x][0][1],DtcSonstiges[x][0][2]) && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]] || pickupid == Dtc_Info[x] && Dtc_PlayerHaveCar[playerid][Dtc_PlayerKey[playerid]])
    {
    new mv = MaxVeh;
    if(mv > 1)
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug mit deinem Ausgewählten Schlüssel !");
    SendClientMessage(playerid, COLOR_GREY, " Verkaufe es mit /carsell oder wechsel den Schlüssel mit /carkey !");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du besitzt schon ein Fahrzeug! Verkaufe es mit /carsell");
    }
    }
    }
    if(pickupid == EssenPickup[0] || pickupid == EssenPickup[1] || pickupid == EssenPickup[2])
    {
    GameTextForPlayer(playerid,"~g~/menu",4000,3);
    }
    if(pickupid == KLEIDUNG_PRO)
    {
    if(PlayerToPoint(3.0,playerid,199.0634,-128.0607,1003.5152))
    {
    ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_PRO,DIALOG_STYLE_LIST,"Pro Labs","Orange 12 Preis: 50$\nRockstar Grey Preis: 30$\nBase 5 Preis: 35$","Kaufen","Abbrechen");
    }
    }
    if(pickupid == KLEIDUNG_ZIP)
    {
    if(PlayerToPoint(3.0,playerid,181.2543,-91.6659,1002.0234))
    {
    ShowPlayerDialog(playerid,DIALOG_KLEIDUNG_ZIP,DIALOG_STYLE_LIST,"ZIP","Schwarzer Anzug&Rote Krawatte Preis: 100$\nPfarrer Anzug Preis: 300$\nCobaine-Style Preis: 200$\nSchwarzer Anzug Preis: 100$\nBlaue Jacke Preis: 120$\nBlauer Gestreifter Anzug Preis: 180$","Kaufen","Abbrechen");
    }
    }
    if(pickupid == Stadion)
    {
    new sstring[123];
    format(sstring, sizeof(sstring), "RundenRennen Preis: %d$\nKickstart Preis: %d$\nDerby Preis: %d$\nMotorCross Preis: %d$",SBizzInfo[16][sbEntranceCost],SBizzInfo[17][sbEntranceCost],SBizzInfo[18][sbEntranceCost],SBizzInfo[19][sbEntranceCost]);
    ShowPlayerDialog(playerid,DIALOG_STADION,DIALOG_STYLE_LIST,"Los Santos Stadion",sstring,"Betreten","Abbrechen");
    }
    if(pickupid == dromeexit
    || pickupid == Derbyexit
    || pickupid == DerbyBesucherexit
    || pickupid == Motorcrossexit
    || pickupid == Rundenrennenexit
    || pickupid == Kickstartexit)
    {
    if(PlayerToPoint(3.0,playerid,-1464.5392,1557.6179,1052.5313)
    || PlayerToPoint(3.0,playerid,-1462.6779,936.9413,1036.6016)
    || PlayerToPoint(3.0,playerid,2726.416748, -1643.612305, 1745.127075)
    || PlayerToPoint(3.0,playerid,-1451.0740,-581.2715,1055.4420)
    || PlayerToPoint(3.0,playerid,2695.5249,-1704.4875,11.8438)
    || PlayerToPoint(3.0,playerid,-1405.6576,-239.1536,1043.3894))
    {
    SetPlayerPos(playerid,2692.4314,-1699.2272,10.4277); //LS Arena verlassen
    SetPlayerInterior(playerid,0);
    ResetPlayerWeapons(playerid);
    }
    }
    return 1;
    }
    //mirco



    if(pickupid == Bankausgang) //Was passiert, wenn er raus will.
    {
    SetPlayerPos(playerid,1465.2175,-1011.3797,26.8438); //Tele. den Spieler wiede rraus.
    SetPlayerInterior(playerid,0); //Interior für den Spieler
    }


    if(pickupid == Bankeingang)//Was passiert wenn der da hingeht.
    {
    SetPlayerPos(playerid,1415.8699,-988.6987,1639.7843); //Teleportiert Spieler ins LSPD
    SetPlayerInterior(playerid,6); //Interior für den Spieler
    }

    Immernoch die selben errors


    Hier ist alles was ich reing habe


    new Bankeingang;
    new Bankausgang;


    Bankeingang = CreatePickup(1318, 2, 1465.2175,-1011.3797,26.8438); //Der Pickup beim Eingang
    Bankausgang = CreatePickup(1318, 2, 1415.8699,-988.6987,1639.7843); //Der Pickup beim Ausgang


    if(pickupid == Bankausgang) //Was passiert, wenn er raus will.
    {
    SetPlayerPos(playerid,1465.2175,-1011.3797,26.8438); //Tele. den Spieler wiede rraus.
    SetPlayerInterior(playerid,0); //Interior für den Spieler
    }


    if(pickupid == Bankeingang)//Was passiert wenn der da hingeht.
    {
    SetPlayerPos(playerid,1415.8699,-988.6987,1639.7843); //Teleportiert Spieler ins LSPD
    SetPlayerInterior(playerid,6); //Interior für den Spieler
    }

    Hi


    Ich brauche hilfe weil ich bekomme immer 5 errors aber ich bekomme sie nicht raus


    Das sind die errors


    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6007) : error 010: invalid function or declaration
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009) : error 021: symbol already defined: "M_SetPlayerPos"
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009) : warning 215: expression has no effect
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009) : error 001: expected token: ";", but found ")"
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009) : error 010: invalid function or declaration
    C:\Dokumente und Einstellungen\Besitzer\Desktop\LosAngelesReallife0.3b!\gamemodes\Mirco.pwn(6009 -- 6013) : fatal error 107: too many error messages on one line


    da sind die errors drinne


    if(pickupid == Bankausgang) //Was passiert, wenn er raus will.
    {
    SetPlayerPos(playerid,1465.2175,-1011.3797,26.8438); //Tele. den Spieler wiede rraus.
    SetPlayerInterior(playerid,0); //Interior für den Spieler
    }


    else if(pickupid == Bankeingang)//Was passiert wenn der da hingeht.
    {
    SetPlayerPos(playerid,1415.8699,-988.6987,1639.7843); //Teleportiert Spieler ins LSPD
    SetPlayerInterior(playerid,6); //Interior für den Spieler
    }