Interior betreten mit Enter drücken

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 wollte es so haben das wenn einer Z.b. beim LSPD steht und rein will das er enter drücken muss.


    Ich habe es versucht aber wenn ich das mache kommen Errors die mit diesen Thema was zutun haben(Andere Errors)


    Könnt ihr mir Helfen?




    mfg


    Kevin_Jefferson


    Hier ist der code new string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(IsPlayerInAnyVehicle(i)) { }


    if(newkeys == KEY_SECONDARY_ATTACK)
    {
    if(IsPlayerInRangeOfPoint(i, 1.0, -1298.5314,2546.1438,87.7422)) //Terror Enter
    {
    SetPlayerInterior(i, 8);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 2807.5339,-1174.7516,1025.5703);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2807.5339,-1174.7516,1025.5703)) //Terror exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 123.0);
    SetPlayerPos(i, -1298.2902,2547.8328,87.5768);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1544.1588,-1353.4196,329.4741)) //Startower oben
    {
    ac_GivePlayerWeapon(i,46,1);
    PlayerMoney[i] -= 500;
    }
    //-------------------------BINCO------------------------------------------------------------------
    if(IsPlayerInRangeOfPoint(i, 1.0, 2101.8923,2257.4822,11.0234)) //Binco lv enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 3) //binco lv exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 268.6854);
    SetPlayerPos(i, 2104.4358,2257.4224,11.0234);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2373.7749,910.1292,45.4453)) //Binco sf enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 2);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 2) //binco sf exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 87.1584);
    SetPlayerPos(i, -2375.7988,910.1769,45.4453);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2244.3396,-1665.5530,15.4766)) //Binco ls enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 1);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 1) //binco ls exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 343.0685);
    SetPlayerPos(i, 2244.7803,-1664.1416,15.4766);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    //-----------------------------------------------------------------------------------------------
    if(IsPlayerInRangeOfPoint(i, 1.0, 2441.3213,2064.5664,10.8203)) //THECRAWBAR LV ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 3) //THECRAWBAR LV EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, 2441.1182,2063.2461,10.8203);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2242.1675,-88.3039,35.3203)) //MYSTIS SF ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 2);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 2) //MYSTIS SF EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, -2244.6379,-88.7001,35.3203);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2309.8931,-1644.1865,14.8270)) //GREEN BOTTLE BAR ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 1);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 1) //GREEN BOTTLE BAR EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, 2310.3794,-1645.8004,14.8270);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2769.4626,-1631.9760,21.3661))//HitmanHeliEingang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 3);
    SetPlayerPos(i, 372.4688,198.0755,1014.1797);
    SetPlayerFacingAngle(i, 180.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 373.9119,198.0936,1014.1797))//HitmanHeliAusgang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2768.9473,-1628.2542,21.3661);
    SetPlayerFacingAngle(i, 123.0);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2770.6846,-1628.1346,12.1775))//HitmanEingang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 3);
    SetPlayerPos(i, 371.3998,181.4472,1014.1875);
    SetPlayerFacingAngle(i, 180.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 371.6150,179.8742,1014.1875))//HitmanAusgang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2773.2498,-1627.9667,12.1775);
    SetPlayerFacingAngle(i, 2.0);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2109.6667,-444.1488,38.7344))//Kickstart SF 8_BALL
    {
    SetPlayerInterior(i, 7);
    SetPlayerPos(i, -1405.1757,-258.1885,1043.6563);
    SetPlayerFacingAngle(i, 90.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -1406.1338,-260.8498,1043.6563))//Kickstart SF 8-BALL
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, -2110.9966,-444.0615,38.7344);
    SetPlayerFacingAngle(i, 264.0);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2695.5872,-1704.6794,11.8438))//Kickstart LS
    {
    SetPlayerInterior(i, 14);
    SetPlayerPos(i, -1464.9501,1558.1238,1052.5313);
    SetPlayerFacingAngle(i, 358.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -1464.6379,1555.9271,1052.5313))//Kickstart LS
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2694.1223,-1702.4052,11.2594);
    SetPlayerFacingAngle(i, 37.0);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1028.6084,-1104.6361,23.8281))//Yakuza GANG HQ hinten REin
    {
    if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -2170.2463,637.1829,1052.3750);
    SetPlayerInterior(i, 1);
    SetPlayerFacingAngle(i, 358.7700);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Yakuza HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2170.3840,635.3994,1052.3750))//Yakuza GANG HQ hintenRaus
    {
    if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 1030.2814,-1103.8483,23.8281);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 265.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1022.5005,-1121.4209,23.8701))//Yakuza GANG HQ vorne Rein
    {
    if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -2158.7917,642.1027,1052.3750);
    SetPlayerInterior(i, 1);
    SetPlayerFacingAngle(i, 91.1711);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Yakuza HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2158.6311,643.1340,1052))//Yakuza GANG HQ vorne Raus
    {
    if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 1022.3242,-1123.2770,23.8699);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 162.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 690.3597,-1275.9595,13.5598))//Red Soldier
    {
    if(PlayerInfo[i][pMember] == 20 || PlayerInfo[i][pLeader] == 20 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 346.870025,309.259033,999.155700);
    SetPlayerInterior(i, 6);
    SetPlayerFacingAngle(i, 91.1711);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Red Soldier HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 346.870025,309.259033,999.155700))//Red Soldier ausgang
    {
    if(PlayerInfo[i][pMember] == 20 || PlayerInfo[i][pLeader] == 20 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 690.3597,-1275.9595,13.5598);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 162.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -515.9211,-539.9542,25.5234))//Transporter GmbH
    {
    if(PlayerInfo[i][pMember] == 19 || PlayerInfo[i][pLeader] == 19 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 963.418762,2108.292480,1011.030273);
    SetPlayerInterior(i, 1);
    SetPlayerFacingAngle(i, 91.1711);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Tranporter GmbH", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 963.418762,2108.292480,1011.030273))//Transporter GmbH ausgang
    {
    if(PlayerInfo[i][pMember] == 19 || PlayerInfo[i][pLeader] == 19 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -515.9211,-539.9542,25.5234);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 162.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1753.8354,-1894.1656,13.5571))//Taxi eingang
    {
    if(PlayerInfo[i][pMember] == 10 || PlayerInfo[i][pLeader] == 10 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -221.059051,1408.984008,27.773437);
    SetPlayerInterior(i, 18);
    SetPlayerFacingAngle(i, 91.1711);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Taxi HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -221.059051,1408.984008,27.773437))//Taxi ausgang
    {
    if(PlayerInfo[i][pMember] == 10 || PlayerInfo[i][pLeader] == 10 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 1753.8344,-1892.1656,13.5571);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 162.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1648.2407,-1813.2158,13.5351))//LCN GANG HQ
    {
    if(PlayerInfo[i][pMember] == 5 || PlayerInfo[i][pLeader] == 5 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 2324.419921,-1145.568359,1050.710083);
    SetPlayerInterior(i, 12);
    SetPlayerFacingAngle(i, 355.0);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~L.C.N. HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2324.419921,-1145.568359,1050.710083))//LCN GANG HQ ex
    {
    if(PlayerInfo[i][pMember] == 5 || PlayerInfo[i][pLeader] == 5 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 1648.2407,-1813.3158,13.5351);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 269.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2520.3672,-2120.3459,13.5469))//Brigada HQ
    {
    if(PlayerInfo[i][pMember] == 18 || PlayerInfo[i][pLeader] == 18 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -794.8741,490.4915,1376.1953);
    SetPlayerInterior(i, 1);
    SetPlayerFacingAngle(i, 355.0);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Brigada HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -794.8741,490.4915,1376.1953))//Brigada HQ
    {
    if(PlayerInfo[i][pMember] == 18 || PlayerInfo[i][pLeader] == 18 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 2520.3672,-2120.3459,13.5469);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 269.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2751.5010,-1936.5105,13.5394))//Aztecas GANG HQ
    {
    if(PlayerInfo[i][pMember] == 6 || PlayerInfo[i][pLeader] == 6 || RamHq[i] == 1)
    {
    SetPlayerPos(i,2349.7234,-1180.8376,1027.9766);
    SetPlayerInterior(i, 5);
    SetPlayerFacingAngle(i, 264.0);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Aztecas HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2352.8342,-1180.9709,1027.9766))//Aztecas GANG HQ ex
    {
    if(PlayerInfo[i][pMember] == 6 || PlayerInfo[i][pLeader] == 6 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 2753.1204,-1936.1036,13.5394);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 267.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2495.3987,-1691.1332,14.7656))//Grove Street GANG HQ
    {
    if(PlayerInfo[i][pMember] == 12 || PlayerInfo[i][pLeader] == 12 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 2496.049804,-1695.238159,1014.742187);
    SetPlayerInterior(i, 3);
    //SetPlayerFacingAngle(i, 180.0);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Grove Street Family HQ", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2496.0220,-1692.0884,1014.7422))//Grove Street GANG HQ ex
    {
    if(PlayerInfo[i][pMember] == 12 || PlayerInfo[i][pLeader] == 12 || RamHq[i] == 1)
    {
    SetPlayerPos(i, 2495.5151,-1689.8986,14.7656);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 10.0);
    SetCameraBehindPlayer(i);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1495.8926,1309.5004,1093.2848))//sf fahrschule trainingsgelände
    {
    SetPlayerPos(i, -2029.9238,-122.4012,35.1914);
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 180.0);
    SetCameraBehindPlayer(i);
    format(string, sizeof(string), "~w~Willkommen auf dem Trainingsgelaende");
    GameTextForPlayer(i, string, 5000, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2029.8750,-120.5192,35.1693))//trainingsgelände exit
    {
    SetPlayerPos(i, 1495.6703,1308.2386,1093.2892);
    SetPlayerInterior(i, 3);
    SetPlayerFacingAngle(i, 175.5);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1570.5129,-1336.9976,16.4844))//STARTOWER ENTER
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 267);
    SetPlayerPos(i, 1548.5060,-1366.4415,326.2109);
    SetCameraBehindPlayer(i);
    format(string, sizeof(string), "~w~Willkommen auf dem Startower");
    GameTextForPlayer(i, string, 5000, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1548.5457,-1363.7535,326.2183))//STARTOWER EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 223);
    SetPlayerPos(i, 1572.4030,-1334.6273,16.4844);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -101.5270,1374.5830,10.4698)) //Adminhaus Eingang
    {
    if(PlayerInfo[i][pAdmin] >= 1)
    {
    SetPlayerInterior(i, 12);
    SetPlayerFacingAngle(i, 268.0);
    SetPlayerPos(i, 1133.2120,-12.8009,1000.6797);
    SetCameraBehindPlayer(i);
    format(string, sizeof(string), "~w~Willkommen im Adminhaus");
    GameTextForPlayer(i, string, 5000, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1133.1530,-15.7755,1000.6797))//Adminhaus Exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 100.0);
    SetPlayerPos(i,-103.0830,1374.4192,10.2734);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1298.5388,-797.9874,84.140)) //MadDog ENTRACE
    {
    SetPlayerInterior(i, 5);
    SetPlayerFacingAngle(i, 358.0);
    SetPlayerPos(i, 1298.8699,-794.5563,1084.0078);
    format(string, sizeof(string), "~w~Willkommen in MadDog's Villa");
    GameTextForPlayer(i, string, 5000, 1);
    SetCameraBehindPlayer(i);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 1298.9171,-797.0048,1084.0078)) //MadDog EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 92.4);
    SetPlayerPos(i, 1298.5283,-799.4304,84.1406);
    SetCameraBehindPlayer(i);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 1259.6403,-785.3065,92.0313)) //MadDog ENTRACE2
    {
    SetPlayerInterior(i, 5);
    SetPlayerFacingAngle(i, 358.0);
    SetPlayerPos(i, 1267.663208,-781.323242,1091.906250);
    format(string, sizeof(string), "~w~Willkommen in MadDog's Villa");
    GameTextForPlayer(i, string, 5000, 1);
    SetCameraBehindPlayer(i);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 1260.6555,-785.3321,1091.9063)) //MadDog EXIT2
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 92.4);
    SetPlayerPos(i, 1258.6299,-785.3190,92.0302);
    SetCameraBehindPlayer(i);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 1555.4036,-1675.5734,16.1953)) //LSPD ENTRACE
    {
    SetPlayerInterior(i, 6);
    SetPlayerFacingAngle(i, 358.0);
    SetPlayerPos(i, 246.7523,63.9976,1003.6406);
    format(string, sizeof(string), "~w~Willkommen im LSPD");
    GameTextForPlayer(i, string, 5000, 1);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 246.7587,62.3230,1003.6406)) //LSPD EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 92.4);
    SetPlayerPos(i, 1552.7628,-1675.7062,16.1953);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, -2624.5254,1412.6161,7.0938)) //JIZZY ENTRANCE
    {
    SetPlayerInterior(i, 3);
    SetPlayerFacingAngle(i, 4.0);
    SetPlayerPos(i, -2640.762939,1406.682006,906.460937);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, -2636.7258,1402.4773,906.4609)) //JIZZY EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 6.0);
    SetPlayerPos(i, -2624.2017,1411.3940,7.0938);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 1837.0039,-1682.4351,13.3243)) //ALHAMBRA ENTRANCE
    {
    SetPlayerInterior(i, 17);
    SetPlayerFacingAngle(i, 1.0);
    SetPlayerPos(i, 493.2472,-23.2597,1000.6797);
    }
    else if(IsPlayerInRangeOfPoint(i, 1.0, 493.4175,-24.8937,1000.6719)) //ALHAMBRA EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 98.0);
    SetPlayerPos(i, 1834.6354,-1682.4053,13.4233);
    }

    !!Wer Fehler findet kann sie Behalten!!

  • Hallo,


    Danke für deine Antwort,


    Ich habe es so gemacht wie es im Forum steht aber bekomme Errors,


    Was jetzt?(Das sind errors die mit das hier nicht zutun haben)


    Das sind die Errors:


    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(5035) : error 017: undefined symbol "UserName"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(5048) : error 017: undefined symbol "UserName"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(5055) : error 017: undefined symbol "UserName"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(5068) : error 017: undefined symbol "UserName"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(9947) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(9988) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10029) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10070) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10111) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10152) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10193) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10225) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10256) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10287) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10318) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10349) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10380) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10411) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10442) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10473) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10504) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(10587) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(11236) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(11240) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(11242) : error 017: undefined symbol "ac_GivePlayerWeapon"
    C:\Users\User\Desktop\World of Reallife\gamemodes\WoR.pwn(11243) : error 017: undefined symbol "ac_GivePlayerWeapon"


    26 Errors


    new string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(IsPlayerInAnyVehicle(i)) { }
    {
    if(newkeys && KEY_SECONDARY_ATTACK)
    {
    if(IsPlayerInRangeOfPoint(i, 1.0, -1298.5314,2546.1438,87.7422)) //Terror Enter
    {
    SetPlayerInterior(i, 8);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 2807.5339,-1174.7516,1025.5703);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2807.5339,-1174.7516,1025.5703)) //Terror exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 123.0);
    SetPlayerPos(i, -1298.2902,2547.8328,87.5768);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1544.1588,-1353.4196,329.4741)) //Startower oben
    {
    ac_GivePlayerWeapon(i,46,1);
    PlayerMoney[i] -= 500;
    }
    //-------------------------BINCO------------------------------------------------------------------
    if(IsPlayerInRangeOfPoint(i, 1.0, 2101.8923,2257.4822,11.0234)) //Binco lv enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 3) //binco lv exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 268.6854);
    SetPlayerPos(i, 2104.4358,2257.4224,11.0234);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2373.7749,910.1292,45.4453)) //Binco sf enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 2);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 2) //binco sf exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 87.1584);
    SetPlayerPos(i, -2375.7988,910.1769,45.4453);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2244.3396,-1665.5530,15.4766)) //Binco ls enter
    {
    SetPlayerInterior(i, 15);
    SetPlayerFacingAngle(i, 0.0);
    SetPlayerPos(i, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(i, 1);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(i) == 1) //binco ls exit
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 343.0685);
    SetPlayerPos(i, 2244.7803,-1664.1416,15.4766);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    //-----------------------------------------------------------------------------------------------
    if(IsPlayerInRangeOfPoint(i, 1.0, 2441.3213,2064.5664,10.8203)) //THECRAWBAR LV ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 3);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 3) //THECRAWBAR LV EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, 2441.1182,2063.2461,10.8203);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2242.1675,-88.3039,35.3203)) //MYSTIS SF ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 2);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 2) //MYSTIS SF EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, -2244.6379,-88.7001,35.3203);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2309.8931,-1644.1865,14.8270)) //GREEN BOTTLE BAR ENTER
    {
    SetPlayerInterior(i, 11);
    SetPlayerFacingAngle(i, 180.0);
    SetPlayerPos(i, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(i, 1);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(i) == 1) //GREEN BOTTLE BAR EXIT
    {
    SetPlayerInterior(i, 0);
    SetPlayerFacingAngle(i, 184.0);
    SetPlayerPos(i, 2310.3794,-1645.8004,14.8270);
    SetPlayerVirtualWorld(i, 0);
    SetCameraBehindPlayer(i);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2769.4626,-1631.9760,21.3661))//HitmanHeliEingang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 3);
    SetPlayerPos(i, 372.4688,198.0755,1014.1797);
    SetPlayerFacingAngle(i, 180.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 373.9119,198.0936,1014.1797))//HitmanHeliAusgang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2768.9473,-1628.2542,21.3661);
    SetPlayerFacingAngle(i, 123.0);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2770.6846,-1628.1346,12.1775))//HitmanEingang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 3);
    SetPlayerPos(i, 371.3998,181.4472,1014.1875);
    SetPlayerFacingAngle(i, 180.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 371.6150,179.8742,1014.1875))//HitmanAusgang
    {
    if(PlayerInfo[i][pHitman] >= 1)
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2773.2498,-1627.9667,12.1775);
    SetPlayerFacingAngle(i, 2.0);
    }
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -2109.6667,-444.1488,38.7344))//Kickstart SF 8_BALL
    {
    SetPlayerInterior(i, 7);
    SetPlayerPos(i, -1405.1757,-258.1885,1043.6563);
    SetPlayerFacingAngle(i, 90.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -1406.1338,-260.8498,1043.6563))//Kickstart SF 8-BALL
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, -2110.9966,-444.0615,38.7344);
    SetPlayerFacingAngle(i, 264.0);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 2695.5872,-1704.6794,11.8438))//Kickstart LS
    {
    SetPlayerInterior(i, 14);
    SetPlayerPos(i, -1464.9501,1558.1238,1052.5313);
    SetPlayerFacingAngle(i, 358.0);
    GameTextForPlayer(i, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, -1464.6379,1555.9271,1052.5313))//Kickstart LS
    {
    SetPlayerInterior(i, 0);
    SetPlayerPos(i, 2694.1223,-1702.4052,11.2594);
    SetPlayerFacingAngle(i, 37.0);
    }
    if(IsPlayerInRangeOfPoint(i, 1.0, 1028.6084,-1104.6361,23.8281))//Yakuza GANG HQ hinten REin
    {
    if(PlayerInfo[i][pMember] == 13 || PlayerInfo[i][pLeader] == 13 || RamHq[i] == 1)
    {
    SetPlayerPos(i, -2170.2463,637.1829,1052.3750);
    SetPlayerInterior(i, 1);
    SetPlayerFacingAngle(i, 358.7700);
    SetCameraBehindPlayer(i);
    GameTextForPlayer(i, "~w~Yakuza HQ", 2500, 1);
    }
    }

    !!Wer Fehler findet kann sie Behalten!!

  • Hallo,


    Also...


    Ich habe es weiter versucht


    Ich bekomme keine Errors/Warnings


    aber es funktioniert nicht


    Wenn ich Enter drücke komme ich nicht raus


    Wisst ihr es?


    mfg


    Kevin_Jefferson


    if(newkeys == KEY_SECONDARY_ATTACK)
    {
    if(IsPlayerInRangeOfPoint(playerid, 1.0, -1298.5314,2546.1438,87.7422)) //Terror Enter
    {
    SetPlayerInterior(playerid, 8);
    SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerPos(playerid, 2807.5339,-1174.7516,1025.5703);
    SetPlayerVirtualWorld(playerid, 3);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2807.5339,-1174.7516,1025.5703)) //Terror exit
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 123.0);
    SetPlayerPos(playerid, -1298.2902,2547.8328,87.5768);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1544.1588,-1353.4196,329.4741)) //Startower oben
    {
    ac_GivePlayerWeapon(playerid,46,1);
    PlayerMoney[playerid] -= 500;
    }
    //-------------------------BINCO------------------------------------------------------------------
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2101.8923,2257.4822,11.0234)) //Binco lv enter
    {
    SetPlayerInterior(playerid, 15);
    SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerPos(playerid, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(playerid, 3);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(playerid) == 3) //binco lv exit
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 268.6854);
    SetPlayerPos(playerid, 2104.4358,2257.4224,11.0234);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -2373.7749,910.1292,45.4453)) //Binco sf enter
    {
    SetPlayerInterior(playerid, 15);
    SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerPos(playerid, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(playerid, 2);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(playerid) == 2) //binco sf exit
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 87.1584);
    SetPlayerPos(playerid, -2375.7988,910.1769,45.4453);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2244.3396,-1665.5530,15.4766)) //Binco ls enter
    {
    SetPlayerInterior(playerid, 15);
    SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerPos(playerid, 207.737991,-109.019996,1005.132812);
    SetPlayerVirtualWorld(playerid, 1);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 207.6232,-111.2658,1005.1328) && GetPlayerVirtualWorld(playerid) == 1) //binco ls exit
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 343.0685);
    SetPlayerPos(playerid, 2244.7803,-1664.1416,15.4766);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    //-----------------------------------------------------------------------------------------------
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2441.3213,2064.5664,10.8203)) //THECRAWBAR LV ENTER
    {
    SetPlayerInterior(playerid, 11);
    SetPlayerFacingAngle(playerid, 180.0);
    SetPlayerPos(playerid, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(playerid, 3);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(playerid) == 3) //THECRAWBAR LV EXIT
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 184.0);
    SetPlayerPos(playerid, 2441.1182,2063.2461,10.8203);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -2242.1675,-88.3039,35.3203)) //MYSTIS SF ENTER
    {
    SetPlayerInterior(playerid, 11);
    SetPlayerFacingAngle(playerid, 180.0);
    SetPlayerPos(playerid, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(playerid, 2);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(playerid) == 2) //MYSTIS SF EXIT
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 184.0);
    SetPlayerPos(playerid, -2244.6379,-88.7001,35.3203);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2309.8931,-1644.1865,14.8270)) //GREEN BOTTLE BAR ENTER
    {
    SetPlayerInterior(playerid, 11);
    SetPlayerFacingAngle(playerid, 180.0);
    SetPlayerPos(playerid, 501.980987,-69.150199,998.757812);
    SetPlayerVirtualWorld(playerid, 1);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 501.9676,-67.5646,998.7578) && GetPlayerVirtualWorld(playerid) == 1) //GREEN BOTTLE BAR EXIT
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 184.0);
    SetPlayerPos(playerid, 2310.3794,-1645.8004,14.8270);
    SetPlayerVirtualWorld(playerid, 0);
    SetCameraBehindPlayer(playerid);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2769.4626,-1631.9760,21.3661))//HitmanHeliEingang
    {
    if(PlayerInfo[playerid][pHitman] >= 1)
    {
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 372.4688,198.0755,1014.1797);
    SetPlayerFacingAngle(playerid, 180.0);
    GameTextForPlayer(playerid, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 373.9119,198.0936,1014.1797))//HitmanHeliAusgang
    {
    if(PlayerInfo[playerid][pHitman] >= 1)
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2768.9473,-1628.2542,21.3661);
    SetPlayerFacingAngle(playerid, 123.0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2770.6846,-1628.1346,12.1775))//HitmanEingang
    {
    if(PlayerInfo[playerid][pHitman] >= 1)
    {
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, 371.3998,181.4472,1014.1875);
    SetPlayerFacingAngle(playerid, 180.0);
    GameTextForPlayer(playerid, "~w~Willommen in der ~n~~r~Hitman ~w~Agency", 2500, 1);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 371.6150,179.8742,1014.1875))//HitmanAusgang
    {
    if(PlayerInfo[playerid][pHitman] >= 1)
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2773.2498,-1627.9667,12.1775);
    SetPlayerFacingAngle(playerid, 2.0);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -2109.6667,-444.1488,38.7344))//Kickstart SF 8_BALL
    {
    SetPlayerInterior(playerid, 7);
    SetPlayerPos(playerid, -1405.1757,-258.1885,1043.6563);
    SetPlayerFacingAngle(playerid, 90.0);
    GameTextForPlayer(playerid, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -1406.1338,-260.8498,1043.6563))//Kickstart SF 8-BALL
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -2110.9966,-444.0615,38.7344);
    SetPlayerFacingAngle(playerid, 264.0);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 2695.5872,-1704.6794,11.8438))//Kickstart LS
    {
    SetPlayerInterior(playerid, 14);
    SetPlayerPos(playerid, -1464.9501,1558.1238,1052.5313);
    SetPlayerFacingAngle(playerid, 358.0);
    GameTextForPlayer(playerid, "~w~Willommen in der ~n~~r~Kickstart ~w~Arena", 2500, 1);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -1464.6379,1555.9271,1052.5313))//Kickstart LS
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2694.1223,-1702.4052,11.2594);
    SetPlayerFacingAngle(playerid, 37.0);
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1028.6084,-1104.6361,23.8281))//Yakuza GANG HQ hinten REin
    {
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || RamHq[playerid] == 1)
    {
    SetPlayerPos(playerid, -2170.2463,637.1829,1052.3750);
    SetPlayerInterior(playerid, 1);
    SetPlayerFacingAngle(playerid, 358.7700);
    SetCameraBehindPlayer(playerid);
    GameTextForPlayer(playerid, "~w~Yakuza HQ", 2500, 1);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -2170.3840,635.3994,1052.3750))//Yakuza GANG HQ hintenRaus
    {
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || RamHq[playerid] == 1)
    {
    SetPlayerPos(playerid, 1030.2814,-1103.8483,23.8281);
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 265.0);
    SetCameraBehindPlayer(playerid);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1022.5005,-1121.4209,23.8701))//Yakuza GANG HQ vorne Rein
    {
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || RamHq[playerid] == 1)
    {
    SetPlayerPos(playerid, -2158.7917,642.1027,1052.3750);
    SetPlayerInterior(playerid, 1);
    SetPlayerFacingAngle(playerid, 91.1711);
    SetCameraBehindPlayer(playerid);
    GameTextForPlayer(playerid, "~w~Yakuza HQ", 2500, 1);
    }
    }
    else if(IsPlayerInRangeOfPoint(playerid, 1.0, -2158.6311,643.1340,1052))//Yakuza GANG HQ vorne Raus
    {
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || RamHq[playerid] == 1)
    {
    SetPlayerPos(playerid, 1022.3242,-1123.2770,23.8699);
    SetPlayerInterior(playerid, 0);
    SetPlayerFacingAngle(playerid, 162.0);
    SetCameraBehindPlayer(playerid);
    }
    }

    !!Wer Fehler findet kann sie Behalten!!

    Einmal editiert, zuletzt von Kevin_Jefferson ()