Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*=========================================================================================================================*/
- /*===================================*ZOLL FILTERSCRIPT BY Casperr*====================================*/
- /*=====================================*CREDITS BY Casperr*=========================================*/
- //==========INCLUDES==========//
- #include <a_samp>
- //==========DEFINITION==========//
- #define COLOR_RED 0xAA3333AA
- #define COLOR_GREEN 0x33AA33AA
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- #pragma tabsize 0
- //==========GATE CLOSE==========//
- forward GateCloseZoll1();
- forward GateCloseZoll2();
- forward GateCloseZoll3();
- forward GateCloseZoll4();
- forward GateCloseZoll5();
- forward GateCloseZoll6();
- forward GateCloseZoll7();
- forward GateCloseZoll8();
- forward GateCloseZoll9();
- forward GateCloseZoll10();
- forward GateCloseZoll11();
- forward GateCloseZoll12();
- forward GateCloseZoll13();
- forward GateCloseZoll14();
- forward GateCloseZoll15();
- forward GateCloseZoll16();
- forward GateCloseZoll17();
- forward GateCloseZoll18();
- //==========CREATE GATES==========//
- new zoll1;
- new zoll2;
- new zoll3;
- new zoll4;
- new zoll5;
- new zoll6;
- new zoll7;
- new zoll8;
- new zoll9;
- new zoll10;
- new zoll11;
- new zoll12;
- new zoll13;
- new zoll14;
- new zoll15;
- new zoll16;
- new zoll17;
- new zoll18;
- //==========OBJECTE==========//
- public OnFilterScriptInit()
- {
- print("\n========================================");
- print("=======|San Andreas Zollstationen|========");
- print("========================================\n");
- //=========|Zoll -1-|LS-LV ZOLL|=========//
- CreateObject(9623, 1737.2454833984, 516.5400390625, 30.134433746338, 358, 0, 339.99993896484);//Zoll -1-; Zoellnerhaeuschen
- CreateObject(978, 1721.7523193359, 517.51257324219, 28.184286117554, 0, 0, 162);//Zoll -1-; Leitplanke [Funkioniert nicht!]
- CreateObject(978, 1751.9862060547, 514.90771484375, 28.184286117554, 0, 0, 158);//Zoll -1-; Leitplanke [Funkioniert nicht!]
- //=========|Zoll -2-|LS-LV Zoll 2|=========//
- CreateObject(9623, 423.8703918457, 611.39068603516, 20.716243743896, 0, 0, 34);//Zoll -2-; Zoellnerhaeuschen
- CreateObject(978, 425.13809204102, 617.34497070313, 18.786190032959, 0, 0, 34);//Zoll -2-; Leitplanke
- CreateObject(978, 422.11804199219, 604.73651123047, 18.705780029297, 0, 0, 34);//Zoll -2-; Leitplanke
- //=========|Zoll -3-|LS_LV ZOLL|=========//
- CreateObject(9623, -135.30130004883, 490.74694824219, 12.547456741333, 358, 0, 346);//Zoll -3-; Zoellnerhaeuschen
- //=========|Zoll -4-|LS-LV MATS|=========//
- CreateObject(9623, -1315.5277099609, 914.72613525391, 47.968280792236, 0, 0, 316);//Zoll -4-; Zoellnerhaeuschen
- CreateObject(978, -1302.1881103516, 907.72833251953, 45.923923492432, 0, 0, 316);//Zoll -4-; Leitplanke
- CreateObject(978, -1328.8762207031, 921.77722167969, 46.106246948242, 0, 0, 135);//Zoll -4-; Leitplanke
- //=========|Zoll -5-|SF-BAYSIDE ZOLL|=========//
- CreateObject(9623, -2681.3041992188, 1695.5458984375, 69.61693572998, 0, 0, 0);//Zoll -5-; Zoellnerhaeuschen
- CreateObject(978, -2695.3833007813, 1691.1973876953, 67.561210632324, 0, 0, 180);//Zoll -5-; Leitplanke
- CreateObject(978, -2667.6569824219, 1699.6290283203, 67.561210632324, 0, 0, 0);//Zoll -5-
- //=========|Zoll -6-|LS-SF ZOLL|=========//
- CreateObject(9623, 49.054714202881, -1531.8104248047, 6.977737903595, 0, 0, 262);//Zoll -6-; Zoellnerhaeuschen
- CreateObject(978, 61.929790496826, -1543.6506347656, 4.9096546173096, 0, 0, 324);//Zoll -6-; Leitplanke
- CreateObject(978, 34.348987579346, -1540.0325927734, 4.8398232460022, 358.00122070313, 357.99877929688, 19.93017578125);//Zoll -6-; Leitplanke
- CreateObject(978, 37.475379943848, -1519.7397460938, 4.7549419403076, 0, 2, 145.99993896484);//Zoll -6-; Leitplanke
- //=========|Zoll -7-|LS-MECHABERG|=========//
- CreateObject(9623, -69.913452148438, -882.02740478516, 16.994424819946, 356, 0, 334);//Zoll -7-; Zoellnerhaeuschen
- //=========|Zoll -8-|TRUCKDEPOT-SF|=========//
- CreateObject(9623, -973.99273681641, -373.13186645508, 38.064125061035, 0, 0, 348);//Zoll -8-; Zoellnerhaeuschen
- //=========|Zoll -9-|LS-SF TUNNEL|=========//
- CreateObject(9623, -1109.1690673828, -892.03576660156, 76.881881713867, 352, 0, 43.899993896484);//Zoll -9-; Zoellnerhaeuschen
- //==========LS-LV|ZOLL-BAUSTELLE|==========//
- CreateObject(978, 1721.4477539063, 512.34051513672, 28.672235488892, 0, 0, 210);
- CreateObject(978, 1716.2862548828, 509.34552001953, 28.727752685547, 0, 0, 210);
- CreateObject(978, 1748.4547119141, 505.189453125, 28.877374649048, 0, 0, 134);
- CreateObject(978, 1726.9521484375, 527.359375, 27.667390823364, 0, 358, 297.99868774414);
- CreateObject(978, 166.06434631348, 94.564254760742, 466.17083740234, 0, 0, 0);
- CreateObject(978, 1724.5694580078, 531.74298095703, 27.490461349487, 0, 358, 298);
- CreateObject(978, 1752.80859375, 518.14935302734, 27.946636199951, 358, 0, 12);
- CreateObject(3091, 1728.2987060547, 531.5849609375, 27.296319961548, 0, 0, 136);
- CreateObject(3091, 1746.7945556641, 503.65274047852, 28.454412460327, 0, 0, 336);
- //==========|ZOLL EXTRA OBJECTS|==========//
- CreateObject(1238, -2672.1328125, 1685.7062988281, 66.533752441406, 0, 0, 0);
- CreateObject(1238, -2663.7006835938, 1679.0234375, 66.789077758789, 0, 0, 0);
- CreateObject(1238, -2690.451171875, 1706.2822265625, 66.921783447266, 0, 0, 0);
- CreateObject(1238, -2699.0756835938, 1713.7416992188, 67.450988769531, 0, 0, 0);
- CreateObject(978, 64.937866210938, -1523.4682617188, 4.7598505020142, 0, 0, 200);
- CreateObject(13562, -70.296875, -881.96472167969, 20.804996490479, 0, 0, 0);
- //==========GATES DEFINITION==========//
- zoll1 = CreateObject(978, 1742.7644042969, 518.56384277344, 28.184286117554, 0, 0, 160);//Zoll -1-
- zoll2 = CreateObject(978, 1730.6453857422, 514.44909667969, 28.184286117554, 0, 0, 160);//Zoll -1-
- zoll3 = CreateObject(978, 425.13809204102, 617.34497070313, 18.786190032959, 0, 0, 34);//Zoll -2-
- zoll4 = CreateObject(978, 422.11804199219, 604.73651123047, 18.705780029297, 0, 0, 34);//Zoll -2-
- zoll5 = CreateObject(978, -130.58474731445, 493.63586425781, 11.407550811768, 0, 0, 346);//Zoll -3-
- zoll6 = CreateObject(978, -141.03131103516, 487.94653320313, 11.407550811768, 0, 0, 348);//Zoll -3-
- zoll7 = CreateObject(978, -1322.2332763672, 915.22381591797, 46.101196289063, 0, 0, 137);//Zoll -4-
- zoll8 = CreateObject(978, -1309.3737792969, 914.82116699219, 45.923923492432, 0, 0, 316);//Zoll -4-
- zoll9 = CreateObject(978, -2686.177734375, 1691.2561035156, 67.561210632324, 0, 0, 180);//Zoll -5-
- zoll10 = CreateObject(978, -2677.791015625, 1699.6838378906, 67.561210632324, 0, 0, 0);//Zoll -5-
- zoll11 = CreateObject(978, 45.630146026611, -1526.5622558594, 5.0016055107117, 0, 0, 82);//Zoll -6-
- zoll12 = CreateObject(978, 52.828693389893, -1536.5474853516, 4.8654842376709, 0, 0, 262);//Zoll -6-
- zoll13 = CreateObject(978, -64.148765563965, -880.21838378906, 14.80371761322, 0, 0, 334);//Zoll -7-
- zoll14 = CreateObject(978, -76.004974365234, -883.78857421875, 15.262513160706, 0, 0, 154);//Zoll -7-
- zoll15 = CreateObject(978, -979.83703613281, -376.15832519531, 36.118007659912, 0, 0, 168);//Zoll -8-
- zoll16 = CreateObject(978, -968.92840576172, -369.97158813477, 35.996417999268, 0, 0, 348);//Zoll -8-
- zoll17 = CreateObject(978, -1109.4364013672, -886.95452880859, 74.26522064209, 0, 0, 42);//Zoll -9-
- zoll18 = CreateObject(978, -1109.1737060547, -898.07177734375, 75.324226379395, 0, 0, 222);//Zoll -9-
- //==========3D TEXT LABLE'S=======//
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,1742.7644042969, 518.56384277344, 29.184286117554,20.0,0,0);//Zoll -1-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,1730.6453857422, 514.44909667969, 29.184286117554,20.0,0,0);//Zoll -1-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,425.13809204102, 617.34497070313, 19.786190032959,20.0,0,0);//Zoll -2-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,422.11804199219, 604.73651123047, 19.705780029297,20.0,0,0);//Zoll -2-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-130.58474731445, 493.63586425781, 12.407550811768,20.0,0,0);//Zoll -3-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-141.03131103516, 487.94653320313, 12.407550811768,20.0,0,0);//Zoll -3-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-1322.2332763672, 915.22381591797, 47.101196289063,20.0,0,0);//Zoll -4-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-1309.3737792969, 914.82116699219, 46.923923492432,20.0,0,0);//Zoll -4-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-2686.177734375, 1691.2561035156, 68.561210632324,20.0,0,0);//Zoll -5-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-2677.791015625, 1699.6838378906, 68.561210632324,20.0,0,0);//Zoll -5-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,45.630146026611, -1526.5622558594, 6.0016055107117,20.0,0,0);//Zoll -6-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,52.828693389893, -1536.5474853516, 5.8654842376709,20.0,0,0);//Zoll -6-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-64.148765563965, -880.21838378906,15.80371761322,20.0,0,0);//Zoll -7-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-76.004974365234, -883.78857421875, 16.262513160706,20.0,0,0);//Zoll -7-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-979.83703613281, -376.15832519531, 37.118007659912,20.0,0,0);//Zoll -8-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-968.92840576172, -369.97158813477, 36.996417999268,20.0,0,0);//Zoll -8-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-1109.4364013672, -886.95452880859, 75.26522064209,20.0,0,0);//Zoll -9-
- Create3DTextLabel("Willkommen an der Zollstation Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,-1109.1737060547, -898.07177734375, 76.324226379395,20.0,0,0);//Zoll -9-
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/Zoll", true) == 0)
- {
- if (IsPlayerInRangeOfPoint(playerid,7.0, 1740.2059,509.7868,28.4849))//Zoll -1- /1/==|Funktioniert|==
- {
- MoveObject(zoll1, 1742.7644042969, 518.56384277344, 25.184286117554, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 1)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-500$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- Create3DTextLabel("Willkommen an der Zollstation~n~Tippe /zoll um den Zoll zu passieren",0xFFFFFFAA,1742.7644042969, 518.56384277344, 28.184286117554,15.0,0,0);
- SetTimer("GateCloseZoll1", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 1733.3785,522.0158,27.9560))//Zoll -1- /2/==|Funktioniert|==
- {
- MoveObject(zoll2, 1730.6453857422, 514.44909667969, 25.184286117554, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 1)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll2", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 427.8507,613.4457,18.8158))//Zoll -2- /1/==|Funktioniert|==
- {
- MoveObject(zoll3, 425.13809204102, 617.34497070313, 15.786190032959, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 2)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll3", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 418.6230,609.6362,18.8207))//Zoll -2- /2/==|Funktioniert|==
- {
- MoveObject(zoll4, 422.11804199219, 604.73651123047, 15.705780029297, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 2)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll4", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0,-131.5987,488.1131,11.5542))//Zoll -3- /1/==|Funktioniert|==
- {
- MoveObject(zoll5, 422.11804199219, 604.73651123047, 15.705780029297, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 3)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll5", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -139.9438,493.1160,11.1182))//Zoll -3- /2/==|Funktioniert|==
- {
- MoveObject(zoll6, -141.03131103516, 487.94653320313, 8.407550811768, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 3)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll6", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -1318.7848,919.0928,46.0326))//Zoll -4- /1/==|Funktioniert|==
- {
- MoveObject(zoll7, -1322.2332763672, 915.22381591797, 43.101196289063, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 4)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll7", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -1314.2152,909.7383,46.0889))//Zoll -4- /2/==|Funktioniert|==
- {
- MoveObject(zoll8, -1309.3737792969, 914.82116699219, 42.923923492432, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 4)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll8", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 62.9513,-1326.6962,4.7878))//Zoll -5- /1/==|Funktioniert|==
- {
- MoveObject(zoll9, -2686.177734375, 1691.2561035156, 64.561210632324, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 5)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll9", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 62.9513,-1326.6962,4.7878))//Zoll -5- /2/==|Funktioniert|==
- {
- MoveObject(zoll10, -2677.791015625, 1699.6838378906, 64.561210632324, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 5)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll10", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 51.6079,-1527.1141,4.9502))//Zoll -6- /1/==|Funktioniert|==
- {
- MoveObject(zoll11, 45.630146026611, -1526.5622558594, 2.0016055107117, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 6)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll11", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, 46.9073,-1535.6595,5.0433))//Zoll -6- /2/==|Funktioniert|==
- {
- MoveObject(zoll12, 52.828693389893, -1536.5474853516, 1.8654842376709, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 6)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll12", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -69.0040,-887.6051,15.3098))//Zoll -7- /1/==|Funktioniert|==
- {
- MoveObject(zoll13, -64.148765563965, -880.21838378906, 11.80371761322, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 7)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll13", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -73.9826,-879.6197,15.0527))//Zoll -7- /2/==|Funktioniert|==
- {
- MoveObject(zoll14, -76.004974365234, -883.78857421875, 12.262513160706, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 7)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll14", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -977.9248,-370.7859,36.3535))//Zoll -8- /1/==|Funktioniert|==
- {
- MoveObject(zoll15, -979.83703613281, -376.15832519531, 33.118007659912, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 8)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll15", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -970.4131,-375.9337,36.0450))//Zoll -8- /2/==|Funktioniert|==
- {
- MoveObject(zoll16, -968.92840576172, -369.97158813477, 32.996417999268, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 8)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll16", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -1105.9501,-891.2293,75.1637))//Zoll -9- /1/==|Funktioniert|==
- {
- MoveObject(zoll17, -1109.4364013672, -886.95452880859, 71.26522064209, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 9)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll17", 3000, 0);
- }
- else if (IsPlayerInRangeOfPoint(playerid, 7.0, -1112.6023,-894.3363,74.8910))//Zoll -9- /2/==|Funktioniert|==
- {
- MoveObject(zoll18, -1109.1737060547, -898.07177734375, 72.324226379395, 4.0);
- SendClientMessage(playerid, COLOR_GREEN, "[Zöllner]:Gute Weiterfahrt(Zollstation 9)");
- GameTextForPlayer(playerid, "~g~Mautgebuehr: ~r~-5o0$", 5000, 1);
- GivePlayerMoney(playerid, -500);
- SetTimer("GateCloseZoll18", 3000, 0);
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED,"Sie Sind an keiner Zoll Station");
- return 1;
- }
- return 1;
- }
- return 0;
- }
- public GateCloseZoll1()//Zoll -1- /1/
- {
- MoveObject(zoll1, 1742.7644042969, 518.56384277344, 28.184286117554, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll2()//Zoll -1- /2/
- {
- MoveObject(zoll2, 1730.6453857422, 514.44909667969, 28.184286117554, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll3()//Zoll -2- /1/
- {
- MoveObject(zoll3, 425.13809204102, 617.34497070313, 18.786190032959, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll4()//Zoll -2- /2/
- {
- MoveObject(zoll4, 422.11804199219, 604.73651123047, 18.705780029297, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll5()//Zoll -3- /1/
- {
- MoveObject(zoll5, -130.58474731445, 493.63586425781, 11.407550811768, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll6()//Zoll -3- /2/
- {
- MoveObject(zoll6, -141.03131103516, 487.94653320313, 11.407550811768, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll7()//Zoll -4- /1/
- {
- MoveObject(zoll7, -1322.2332763672, 915.22381591797, 46.101196289063, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll8()//Zoll -4- /2/
- {
- MoveObject(zoll8, -1309.3737792969, 914.82116699219, 45.923923492432, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll9()//Zoll -5- /1/
- {
- MoveObject(zoll9, -2686.177734375, 1691.2561035156, 67.561210632324, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll10()//Zoll -5- /2/
- {
- MoveObject(zoll10, -2677.791015625, 1699.6838378906, 67.561210632324, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll11()//Zoll -6- /1/
- {
- MoveObject(zoll11, 45.630146026611, -1526.5622558594, 5.0016055107117, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll12()//Zoll -6- /2/
- {
- MoveObject(zoll12, 52.828693389893, -1536.5474853516, 4.8654842376709, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll13()//Zoll -7- /1/
- {
- MoveObject(zoll13, -64.148765563965, -880.21838378906, 14.80371761322, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll14()//Zoll -7- /2/
- {
- MoveObject(zoll14, -76.004974365234, -883.78857421875, 15.262513160706, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll15()//Zoll -8- /1/
- {
- MoveObject(zoll15, -979.83703613281, -376.15832519531, 36.118007659912, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll16()//Zoll -8- /2/
- {
- MoveObject(zoll16, -968.92840576172, -369.97158813477, 35.996417999268, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll17()//Zoll -9- /1/
- {
- MoveObject(zoll17, -1109.4364013672, -886.95452880859, 74.26522064209, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- public GateCloseZoll18()//Zoll -9- /2/
- {
- MoveObject(zoll18, -1109.1737060547, -898.07177734375, 75.324226379395, 4.0);//===|Ausgangsposition|===//
- return 1;
- }
- #endif
- /*=========================================================================================================================*/
- /*========================================================*ZOLL ENDE*======================================================*/
Advertisement
Add Comment
Please, Sign In to add comment