>> Wenn das Script mich veräppeln möchte... <<

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
  • Guten tag, ich habe ein kleines Problem mit meinen Befehl, der Befehl heisst /mv.
    Wenn ich den eingebe, sollte sich eigentlich ein Tor öffnen, doch es will sich einfach nicht öffnen.
    Ich habe schon die richtigen Koordinaten eingegeben. Moment, es sind 3 Tore, 3 FBI Tore, die sich gegen mich aufspielen.
    Mein Befehl um tore zu öffnen ist /mv. Wenn ich den vor dem FBI Tor eingebe passiert nichts. ich habe es aber auch gleich anfangs verbessert und das
    wenn man im Fahrzeug ist auch Hupen kann um das tor zu öffnen, nun kommt es. Ich hupe und das Tor geht auf, wenn ich /mv nurso eingebe, passiert nichts, doch wenn ich die Hupe drücke schon.
    Woran kann das liegen, das das Script mich hier so veräppeln möchte ?
    Sieht euch den befehl an.


    if(strcmp(cmdtext,"/mv",true)==0)
    {
    if(tor[playerid]==0)//Geschlossen//
    {
    if(IsPlayerInRangeOfPoint(playerid,20,1289.048828125,-1647.3701171875,12.046875))
    {
    if(IsPlayerInFrac(playerid,19)||IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1289.048828125,-1647.3701171875,12.046875);
    MoveObject(adactor,1289.0493164063,-1629.3706054688,12.046875,4);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5,368.634765625,161.5693359375,1024.7890625))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,368.634765625,161.5693359375,1024.7890625);
    MoveObject(prasitor2,368.634765625,161.5693359375-1.5,1024.7890625,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5,371.25268554688,166.77395629883,1007.4400024414))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,371.25268554688,166.77395629883,1007.4400024414);
    MoveObject(prasitor1,371.25268554688+1.8,166.77395629883,1007.4400024414,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1149.6607666016,-1293.6606445313,15.779369354248))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1149.6607666016,-1293.6606445313,15.779369354248);
    MoveObject(medictor,1134.78,-1290.97,16.47,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1742.4611816406,-1143.7971191406,22.959186553955))
    {
    if(IsPlayerInFrac(playerid,21)||StaatsMember(playerid)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1742.4611816406,-1143.7971191406,22.959186553955);
    MoveObject(fftor[0],1742.4611816406,-1143.7971191406,27.959186553955,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,959.97192,-1427.40503,16.45250))
    {
    if(IsPlayerInFrac(playerid,11)||StaatsMember(playerid)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,969.0279,-1427.4050,16.4525);
    MoveObject(fgate,969.0279,-1427.4050,16.4525,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,4.0,217.80000305176,116.59999847412,999.29998779297))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,19)||IsPlayerInFrac(playerid,24)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,217.80000305176,116.59999847412,996.70001220703);
    MoveObject(innengate,217.80000305176,116.59999847412,996.70001220703,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,6,2428.0244140625,-1628.8505859375,13.255169868469))
    {
    if(IsPlayerInFrac(playerid,13)||IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,2428.0244140625,-1628.8505859375,13.255169868469);
    MoveObject(gstor[1],2428.0244140625,-1628.8505859375,13.255169868469-1.5,5);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,6,2477.3505859375,-1722.1088867188,12.709005508423))
    {
    if(IsPlayerInFrac(playerid,13)||IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,2477.3505859375,-1722.1088867188,12.709005508423);
    MoveObject(gstor[0],2477.3505859375,-1722.1088867188,12.709005508423-1.5,5);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1544.820679, -1630.845703, 12.919844))//LSPD schranke
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,9)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1539.6494140625,-1624.7291259766,13);
    MoveObject(lspdschranke,1539.6494140625, -1624.7291259766, 13-8,5);
    MoveObject(lspdschranke2,1539.65234375, -1630.1614990234, 13-8,5);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-2972.27734375,1750.74609375,21.89137650))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,-2972.27734375,1750.74609375,21.89137650);
    MoveObject(alkator[1],-2972.27734375,1750.74609375,21.89137650-10,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-3040.34448242,1665.12280273,9.61638260))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,-3040.34448242,1665.12280273,9.61638260);
    MoveObject(alkator[0],-3040.34448242,1665.12280273,9.61638260-10,4);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,2535.0844726563,-1283.8153076172,1050.5844726563))
    {
    if(PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==1)
    {
    PlayerPlaySound(playerid,1035,2535.0844726563,-1283.8153076172,1050.5844726563);
    MoveObject(alkator[2],2535.0844726563,-1283.8153076172,1050.5844726563+10,3);
    tor[playerid]=1;
    }
    if(GetPVarInt(playerid,"schlüssel")==1)
    {
    PlayerPlaySound(playerid,1035,2535.0844726563,-1283.8153076172,1050.5844726563);
    MoveObject(alkator[2],2535.0844726563,-1283.8153076172, 1050.5844726563+10,3);
    SetPVarInt(playerid,"schlüssel",0);
    closetime=10;
    door_opened=gettime();
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10.0,96.900001525879,1920.4000244141,18.89999961853))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,96.900001525879,1920.4000244141,14.300000190735);
    MoveObject(terrorfick,96.900001525879,1920.4000244141,14.300000190735,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,117.59999847412,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,239.60000610352,117.59999847412,1004);
    MoveObject(lsdtor1,239.60000610352,117.59999847412,1006.5,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,125.30000305176,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,239.60000610352,125.30000305176,1006.5);
    MoveObject(lsdtor2,239.60000610352,125.30000305176,1006.5,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,253.19999694824,125.19999694824,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,253.19999694824,125.19999694824,1006.5);
    MoveObject(lsdtor3,253.19999694824,125.19999694824,1006.5,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,253.10000610352,108.09999847412,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,253.19999694824,125.19999694824,1006.5);
    MoveObject(lsdtor4,253.10000610352,108.09999847412,1006.5,2);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-443.89999389648,1444.4000244141,20))
    {
    if(IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,253.19999694824,125.19999694824,1006.5);
    MoveObject(bunkertor1,-443.89999389648,1444.4000244141,17.5,1);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-394.5,1243.3000488281,5.5))
    {
    if(IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=1)
    {
    PlayerPlaySound(playerid,1035,-394.5,1243.3000488281,2.7000000476837);
    MoveObject(bunkertor2,-394.5,1243.3000488281,2.7000000476837,1);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,1588.307983, -1638.104126, 13.479645))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=1)
    {
    PlayerPlaySound(playerid,1035,1588.307983,-1638.104126,13.479645);
    MoveObject(lspdtor,1597.917358,-1638.104126,13.479645,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,214.30000305176, 1875.6999511719, 14.199999809265))
    {
    if(IsPlayerInFrac(playerid,3))
    {
    PlayerPlaySound(playerid,1035,214.30000305176,1875.6999511719,4.199999809265);
    MoveObject(Army1,214.30000305176,1875.6999511719,4.199999809265,1);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1207.8929443359,-1837.6591796875,12.3828125))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,9)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1207.8929443359, -1837.6591796875, 12.3828125);
    MoveObject(newstor,1207.8929443359,-1837.6591796875,12.3828125-8,5);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1027.5000000,1172.0000000,12.4000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1027.5000000,1172.0000000,12.4000000);
    MoveObject(fbitor[0],1027.5000000,1172.0000000,6.8000001907349,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1067.5000000,1358.0000000,12.5000000);
    MoveObject(fbitor[1],1067.5000000,1358.0000000,6.8000001907349,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1140.0000000,1362.6999500,12.6000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1140.0000000,1362.6999500,12.6000000);
    MoveObject(fbitor[2],1140.0000000,1362.6999500,6.8000001907349,3);
    tor[playerid]=1;
    }
    }
    return 1;
    }
    else if(tor[playerid]==1)//geöffnet//
    {
    if(IsPlayerInRangeOfPoint(playerid,20,1289.048828125,-1647.3701171875,12.046875))
    {
    if(IsPlayerInFrac(playerid,19)||IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1289.048828125,-1647.3701171875,12.046875);
    MoveObject(adactor,1289.048828125,-1647.3701171875,12.046875,4);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5,368.634765625,161.5693359375,1024.7890625))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,368.634765625,161.5693359375,1024.7890625);
    MoveObject(prasitor2,368.634765625,161.5693359375,1024.7890625,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5,371.25268554688,166.77395629883,1007.4400024414))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,371.25268554688,166.77395629883,1007.4400024414);
    MoveObject(prasitor1,371.25268554688,166.77395629883,1007.4400024414,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1149.6607666016,-1293.6606445313,15.779369354248))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1149.6607666016,-1293.6606445313,15.779369354248);
    MoveObject(medictor,1144.90,-1290.97,16.47,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1742.4611816406,-1143.7971191406,22.959186553955))
    {
    if(IsPlayerInFrac(playerid,21)||StaatsMember(playerid)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1742.4611816406, -1143.7971191406, 22.959186553955);
    MoveObject(fftor[0],1742.4611816406, -1143.7971191406, 22.959186553955,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,959.97192,-1427.40503,16.45250))
    {
    if(IsPlayerInFrac(playerid,11)||StaatsMember(playerid)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,969.0279,-1427.4050,16.4525);
    MoveObject(fgate,959.97192,-1427.40503,16.45250,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,4.0,217.80000305176,116.59999847412,999.29998779297))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,19)||IsPlayerInFrac(playerid,24)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,217.80000305176,116.59999847412,996.70001220703);
    MoveObject(innengate,217.80000305176,116.59999847412,999.29998779297,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,4.0,217.80000305176,116.59999847412,999.29998779297))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,19)||IsPlayerInFrac(playerid,24)||IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,2428.0244140625,-1628.8505859375,13.255169868469);
    MoveObject(gstor[1],2428.0244140625,-1628.8505859375,13.255169868469,5);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,6,2477.3505859375,-1722.1088867188,12.709005508423))
    {
    if(IsPlayerInFrac(playerid,13)||IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,2477.3505859375,-1722.1088867188,12.709005508423);
    MoveObject(gstor[0],2477.3505859375,-1722.1088867188,12.709005508423,5);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,15,1544.820679, -1630.845703, 12.919844))//LSPD schranke
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,4)||IsPlayerInFrac(playerid,9)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1539.6494140625, -1624.7291259766, 13);
    MoveObject(lspdschranke,1539.6494140625, -1624.7291259766, 13,5);
    MoveObject(lspdschranke2,1539.65234375, -1630.1614990234, 13,5);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-2972.27734375,1750.74609375,21.89137650))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,-2972.27734375,1750.74609375,21.89137650);
    MoveObject(alkator[1],-2972.27734375,1750.74609375,21.89137650,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-3040.34448242,1665.12280273,9.61638260))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,-3040.34448242,1665.12280273,9.61638260);
    MoveObject(alkator[0],-3040.34448242,1665.12280273,9.61638260,4);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,2535.0844726563,-1283.8153076172,1050.5844726563))
    {
    if(PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==1)
    {
    PlayerPlaySound(playerid,1035,2535.0844726563,-1283.8153076172,1050.5844726563);
    MoveObject(alkator[2],2535.0844726563,-1283.8153076172,1050.5844726563,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10.0,96.900001525879,1920.4000244141,18.89999961853))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,96.900001525879,1920.4000244141,18.89999961853);
    MoveObject(terrorfick,96.900001525879,1920.4000244141,18.89999961853,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,117.59999847412,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,239.60000610352,117.59999847412,1004);
    MoveObject(lsdtor1,239.60000610352,117.59999847412,1004,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,125.30000305176,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,239.60000610352,125.30000305176,1004);
    MoveObject(lsdtor2,239.60000610352,125.30000305176,1004,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,125.30000305176,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,253.19999694824,125.19999694824,1004);
    MoveObject(lsdtor3,253.19999694824,125.19999694824,1004,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,239.60000610352,125.30000305176,1004))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,253.10000610352,108.09999847412,1004);
    MoveObject(lsdtor4,253.10000610352,108.09999847412,1004,2);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-443.89999389648,1444.4000244141,20))
    {
    if(IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=1)
    {
    PlayerPlaySound(playerid,1035,-443.89999389648,1444.4000244141,20);
    MoveObject(bunkertor1,-443.89999389648,1444.4000244141,20,1);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,-394.5,1243.3000488281,5.5))
    {
    if(IsPlayerInFrac(playerid,7)||PlayerInfo[playerid][pAdmin]>=1)
    {
    PlayerPlaySound(playerid,1035,-394.5,1243.3000488281,5.5);
    MoveObject(bunkertor2,-394.5,1243.3000488281,5.5,1);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,10,1588.307983, -1638.104126, 13.479645))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||PlayerInfo[playerid][pAdmin]>=1)
    {
    PlayerPlaySound(playerid,1035,1588.307983,-1638.104126,13.479645);
    MoveObject(lspdtor,1588.307983,-1638.104126,13.479645,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,5.0,214.30000305176, 1875.6999511719, 14.199999809265))
    {
    if(IsPlayerInFrac(playerid,3))
    {
    PlayerPlaySound(playerid,1035,214.30000305176,1875.6999511719,14.199999809265);
    MoveObject(Army1,214.30000305176,1875.6999511719,14.199999809265,1);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1207.8929443359,-1837.6591796875,12.3828125))
    {
    if(IsPlayerInFrac(playerid,1)||IsPlayerInFrac(playerid,2)||IsPlayerInFrac(playerid,3)||IsPlayerInFrac(playerid,9)||PlayerInfo[playerid][pAdmin]>=2)
    {
    PlayerPlaySound(playerid,1035,1207.8929443359, -1837.6591796875, 12.3828125);
    MoveObject(newstor,1207.8929443359, -1837.6591796875, 12.3828125,5);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1027.5000000,1172.0000000,12.4000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1027.5000000,1172.0000000,12.4000000);
    MoveObject(fbitor[0],1027.5000000,1172.0000000,12.4000000,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1067.5000000,1358.0000000,12.5000000);
    MoveObject(fbitor[1],1067.5000000,1358.0000000,12.5000000,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1140.0000000,1362.6999500,12.6000000);
    MoveObject(fbitor[2],1140.0000000,1362.6999500,12.6000000,3);
    tor[playerid]=0;
    }
    }
    return 1;
    }
    return 1;
    }


    So hier nochmal der Hupenbefehl


    public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    {
    if (GetPlayerState(playerid)== PLAYER_STATE_DRIVER)
    {
    if(PRESSED(KEY_CROUCH))
    {
    OnPlayerCommandText(playerid,"/mv");
    }
    }
    return 1;
    }


    Und hier die FBI Tore.
    if(IsPlayerInRangeOfPoint(playerid,20,1027.5000000,1172.0000000,12.4000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1027.5000000,1172.0000000,12.4000000);
    MoveObject(fbitor[0],1027.5000000,1172.0000000,6.8000001907349,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1067.5000000,1358.0000000,12.5000000);
    MoveObject(fbitor[1],1067.5000000,1358.0000000,6.8000001907349,3);
    tor[playerid]=1;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1140.0000000,1362.6999500,12.6000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1140.0000000,1362.6999500,12.6000000);
    MoveObject(fbitor[2],1140.0000000,1362.6999500,6.8000001907349,3);
    tor[playerid]=1;
    }
    }


    if(IsPlayerInRangeOfPoint(playerid,20,1027.5000000,1172.0000000,12.4000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1027.5000000,1172.0000000,12.4000000);
    MoveObject(fbitor[0],1027.5000000,1172.0000000,12.4000000,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1067.5000000,1358.0000000,12.5000000);
    MoveObject(fbitor[1],1067.5000000,1358.0000000,12.5000000,3);
    tor[playerid]=0;
    }
    }
    if(IsPlayerInRangeOfPoint(playerid,20,1067.5000000,1358.0000000,12.5000000))
    {
    if(IsPlayerInFrac(playerid,2)||IsPlayerAnAdmin(playerid,2))
    {
    PlayerPlaySound(playerid,1035,1140.0000000,1362.6999500,12.6000000);
    MoveObject(fbitor[2],1140.0000000,1362.6999500,12.6000000,3);
    tor[playerid]=0;
    }
    }
    return 1;


    Hilft mir dringend :D