Taxibase [siNco981]

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo, ich habe eine Taxibase gemappt, und die benutzte ich auf meinem Server auch, hier für euch:


    VIdeo/Screen/Vorschau: http://www.youtube.com/watch?v=8MmxDGAlknc&feature=youtu.be
    Pastebin: http://pastebin.com/CbzHbzDP //Bei Pastebin ist es ohne Tor, also es kann man nicht öffnen! xD aber unten in der Erklärung schon.


    Erklärung mit Toren etc:


    Zuerst definiren wir das Tor so:


    //Taxi Tor
    new ttor;


    Nun der Taxispawn:


    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi spawn //Die 10 Ersetzten mit eurer Taxi Fraktion, bei mir ist sie 10^^
    {
    SetPlayerToTeamColor(playerid);
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid, 1038.2727,-1458.8271,13.6146);
    SetPlayerFacingAngle(playerid,183.2505);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    SetPlayerArmour(playerid,100);
    SetPlayerHealth(playerid,100);
    return 1;
    }


    Nun die Taxiautos unter OnGameModeInit einfügen:


    AddStaticVehicle(420,980.4097,-1433.7500,13.3264,179.2952,6,6); // TTAXICAR
    AddStaticVehicle(420,985.4055,-1433.7001,13.3257,181.3490,6,6); // TTAXICAR
    AddStaticVehicle(420,990.3427,-1433.7147,13.3252,180.6193,6,6); // TTAXICAR
    AddStaticVehicle(420,995.4730,-1433.7173,13.3255,179.8914,6,6); // TTAXICAR
    AddStaticVehicle(420,1000.1376,-1433.7609,13.3264,178.9694,6,6); // TTAXICAR
    AddStaticVehicle(420,1004.9482,-1433.6859,13.3264,179.5614,6,6); // TTAXICAR
    AddStaticVehicle(420,1009.7401,-1433.6718,13.3261,179.5202,6,6); // TTAXICAR
    AddStaticVehicle(420,1014.3903,-1433.5703,13.3261,180.1466,6,6); // TTAXICAR
    AddStaticVehicle(420,1019.2659,-1433.5588,13.3282,178.9512,6,6); // TTAXICAR
    AddStaticVehicle(420,1024.8074,-1433.5455,13.3276,180.0215,6,6); // TTAXICAR
    AddStaticVehicle(438,1030.3992,-1461.1400,13.5655,1.1996,6,6); // TTAXICAR
    AddStaticVehicle(438,1025.5149,-1461.2064,13.5624,0.7868,6,6); // TTAXICAR
    AddStaticVehicle(438,1020.6183,-1461.2153,13.5588,0.0632,6,6); // TTAXICAR
    AddStaticVehicle(438,1015.8168,-1461.1757,13.5568,2.1787,6,6); // TTAXICAR
    AddStaticVehicle(438,1010.9174,-1461.1997,13.5552,359.8592,6,6); // TTAXICAR
    AddStaticVehicle(438,1005.1890,-1461.1768,13.5509,2.5869,6,6); // TTAXICAR
    AddStaticVehicle(437,1029.7957,-1446.8717,13.6879,359.8164,6,6); // TTAXIBUS
    AddStaticVehicle(437,987.4548,-1453.0059,13.6642,90.3672,6,6); // TTAXIBUS
    AddStaticVehicle(487,1032.0178,-1472.2091,21.4415,0.1741,6,6); // TTAXIHELI
    AddStaticVehicle(487,1009.0538,-1472.6382,21.4364,0.1542,6,6); // TTAXIHELI


    Nun kommen wir zu den CreateObject's:


    //Neue Taxibase


    CreateObject(3749, 975, -1447, 18.39999961853, 0, 0, 269.5);
    ttor = CreateObject(980, 975.09997558594, -1447.0999755859, 15.300000190735, 0, 0.25, 269.5);
    CreateObject(972, 1037.5999755859, -1467.6999511719, 12.5, 0, 0, 0);
    CreateObject(5837, 1038.5, -1460.0999755859, 14, 0, 0, 89.749938964844);
    CreateObject(673, 972.20001220703, -1440.3000488281, 12.5, 0, 0, 0);
    CreateObject(673, 968.5, -1440.3000488281, 12.5, 0, 0, 0);
    CreateObject(673, 966, -1440.3000488281, 12.5, 0, 0, 0);
    CreateObject(673, 963.79998779297, -1440.3000488281, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1438.0999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1435.6999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1433.0999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1430.5, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1427.5, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1424.5999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.40002441406, -1421.8000488281, 12.5, 0, 0, 0);
    CreateObject(673, 963.29998779297, -1418.6999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.29998779297, -1416.3000488281, 12.5, 0, 0, 0);
    CreateObject(970, 963.20001220703, -1418.3000488281, 13.10000038147, 0, 0, 270.5);
    CreateObject(970, 963.29998779297, -1422.4000244141, 13.10000038147, 0, 0, 272.74987792969);
    CreateObject(970, 963.5, -1426.5, 13.10000038147, 0, 0, 270.49987792969);
    CreateObject(970, 963.5, -1430.5999755859, 13.10000038147, 0, 0, 270.49987792969);
    CreateObject(970, 963.5, -1434.6999511719, 13.10000038147, 0, 0, 270.49987792969);
    CreateObject(970, 963.59997558594, -1438.3000488281, 13.10000038147, 0, 0, 273.24987792969);
    CreateObject(970, 965.79998779297, -1440.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(970, 969.90002441406, -1440.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(970, 972.5, -1440.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(970, 963.19921875, -1418.2998046875, 13.10000038147, 0, 0, 270.49987792969);
    CreateObject(970, 965.29998779297, -1416.3000488281, 12.89999961853, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1420.1999511719, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1417.5999755859, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1422.8000488281, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1425.4000244141, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1428, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1430.5999755859, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1433.1999511719, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1435.8000488281, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1438.4000244141, 13.199999809265, 0, 0, 0);
    CreateObject(638, 963.40002441406, -1439.3000488281, 13.199999809265, 0, 0, 0);
    CreateObject(638, 964.40002441406, -1440.3000488281, 13.199999809265, 0, 0, 89.75);
    CreateObject(638, 966.70001220703, -1440.3000488281, 13.199999809265, 0, 0, 89.747314453125);
    CreateObject(638, 969.29998779297, -1440.3000488281, 13.199999809265, 0, 0, 89.747314453125);
    CreateObject(638, 971.90002441406, -1440.3000488281, 13.199999809265, 0, 0, 89.747314453125);
    CreateObject(638, 964.40002441406, -1416.4000244141, 13.199999809265, 0, 0, 89.747314453125);
    CreateObject(673, 971.90002441406, -1454.1999511719, 12.5, 0, 0, 0);
    CreateObject(673, 968.70001220703, -1454.1999511719, 12.5, 0, 0, 0);
    CreateObject(673, 965.70001220703, -1454.1999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.59997558594, -1454.1999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1456.3000488281, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1458.9000244141, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1461.5999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1464.5999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1467.6999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1470.6999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1473.6999511719, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1476.5999755859, 12.5, 0, 0, 0);
    CreateObject(673, 963.5, -1478.8000488281, 12.5, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1417.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1419.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1422.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1424.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1426.9000244141, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1430.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1432.8000488281, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1435.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1438.3000488281, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 964.20001220703, -1439.5, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 966.09997558594, -1439.5, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 968.59997558594, -1439.5, 13.10000038147, 0, 0, 0);
    CreateObject(1215, 971.59997558594, -1439.5, 13.10000038147, 0, 0, 0);
    CreateObject(970, 970.90002441406, -1454.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 966.5, -1454.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 965.5, -1454.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(970, 963.40002441406, -1456.0999755859, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1459.5999755859, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1463.6999511719, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1467.8000488281, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1471.9000244141, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1476, 13.10000038147, 0, 0, 90);
    CreateObject(970, 963.40002441406, -1477, 13.10000038147, 0, 0, 90);
    CreateObject(638, 972.09997558594, -1454.1999511719, 13.10000038147, 0, 0, 269.25);
    CreateObject(638, 969.5, -1454.1999511719, 13.10000038147, 0, 0, 269.24743652344);
    CreateObject(638, 966.90002441406, -1454.1999511719, 13.10000038147, 0, 0, 269.24743652344);
    CreateObject(638, 964.5, -1454.1999511719, 13.10000038147, 0, 0, 269.24743652344);
    CreateObject(638, 963.5, -1455.1999511719, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1457.8000488281, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1460.4000244141, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1463, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1465.5999755859, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1468.0999755859, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1470.6999511719, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1473.3000488281, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1475.9000244141, 13.10000038147, 0, 0, 0);
    CreateObject(638, 963.5, -1477.9000244141, 13.10000038147, 0, 0, 0);
    CreateObject(970, 965.5, -1479.0999755859, 13.10000038147, 0, 0, 180.25);
    CreateObject(638, 964.5, -1478.9000244141, 13.10000038147, 0, 0, 89.75);
    CreateObject(1215, 972.20001220703, -1455.1999511719, 13, 0, 0, 0);
    CreateObject(1215, 970.5, -1455.0999755859, 13, 0, 0, 0);
    CreateObject(1215, 968, -1455, 13, 0, 0, 0);
    CreateObject(1215, 965, -1455, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1455.6999511719, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1457.4000244141, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1459.5999755859, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1462.0999755859, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1464.5999755859, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1467.5999755859, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1470.3000488281, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1474.3000488281, 13, 0, 0, 0);
    CreateObject(1215, 964.09997558594, -1477.8000488281, 13, 0, 0, 0);
    CreateObject(983, 978, -1433.6999511719, 13.199999809265, 0, 0, 359.75);
    CreateObject(983, 983, -1433.8000488281, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 987.79998779297, -1433.5999755859, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 992.70001220703, -1433.5, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 997.79998779297, -1433.4000244141, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1012.200012207, -1433, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(3928, 1032.0999755859, -1472.1999511719, 20.299999237061, 0, 0, 270.75);
    CreateObject(3928, 1009.200012207, -1472.1999511719, 20.299999237061, 0, 0, 270.7470703125);
    CreateObject(1215, 1005.5999755859, -1468.3000488281, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1012.5, -1468.3000488281, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1012.5999755859, -1476, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1005.700012207, -1476, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1028.5999755859, -1476, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1028.5, -1468.3000488281, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1035.4000244141, -1468.1999511719, 20.799999237061, 0, 0, 0);
    CreateObject(1215, 1035.5, -1476, 20.799999237061, 0, 0, 0);
    CreateObject(983, 1007.5999755859, -1433.0999755859, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1002.599609375, -1433.2998046875, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1016.799987793, -1433, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1028.0999755859, -1461.4000244141, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1027.9000244141, -1433.1999511719, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1022, -1433, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1022.9000244141, -1461.3000488281, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1018.299987793, -1461.1999511719, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1013.0999755859, -1461.1999511719, 13.199999809265, 0, 0, 359.74731445313);
    CreateObject(983, 1007.799987793, -1461.1999511719, 13.199999809265, 0, 0, 359.74731445313);


    Jetz kommt der tLift:


    if(strcmp(cmd, "/tlift", true) == 0)
    {
    if(IsACop(playerid) || IsPlayerInFrac(playerid, 10))
    {
    if(IsPlayerInRangeOfPoint(playerid, 4.0, 992.7688,-1460.1172,13.5469))
    {
    SetPlayerPos(playerid, 990.2078,-1461.0585,21.2656);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 4.0, 990.2078,-1461.0585,21.2656))
    {
    SetPlayerPos(playerid, 992.7688,-1460.1172,13.5469);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    }
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, "Du bist leider kein Taxifahrer!");
    }
    return 1;
    }


    Und zuletzt das Tor:


    //Taxitor
    if(strcmp(cmd,"/ttor", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Die 10 Ersetzten mit euer Taxifraktion!
    {
    MoveObject(ttor,975.09997558594, -1447.0999755859, 15.300000190735-10,3.0);
    SetTimer("Closettor", 5000, 0);
    SendClientMessage(playerid, 0x009BFFFF,"Das Taxi Tor ist offen, beeil dich es schließt in 5Sekunden!");
    }
    else SendClientMessage(playerid, 0x009BFFFF, "Du bist kein Taxi Mitglied!");
    return 1;
    }


    //Sry dass heisst immernoch Taxibase am KrankenhausLS :p

  • Viel zu viele Taxis finde ich und wieso hat eine Taxi Firma einen Lift auf's Dach?:D

  • Naja 8/10


    2 Punkte Minus weil du mich gebannt hast ;)

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Du bewertest die Map und nicht den Server 8|

    Ich Bewerte Beides :P Jedoch Kindisches verhalten von ihm, und das wird seinen Server zersprengen :thumbup:


    PS: Du hast Vergessen die Function reinzuschreiben weil es sich ohne nicht schließen kann ;)

    Einmal editiert, zuletzt von Marijuana_ ()

  • Marijuana_ Du weisst warum ich dich gebannt habe, 1)Ich bin der Server Owner,
    2) Du hast nicht alles auf dem Server zu bestimmen, ende.

    Man sieht schon an deinen ausdrücken das du ziemlich asozial wirkst, ich habe nur gesagt du machst Abuse was gegen über den anderen Spielern unfair ist.
    Dann Unterstellst du noch Usern was und kackst mich an. Naja ist mir sowas von Wayne ich mache eigenen und gut ist ;) PS: Guck mal auf cog-samp.de.vu dein Forum xD!
    Naja hör auf zu Flamen 8)

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen