#include #pragma tabsize 0 #define COLOR_YELLOW 0xFFFF00AA #define COLOR_GREEN 0x00FF00FF #if defined FILTERSCRIPT public OnFilterScriptInit() { print("/n************************************"); print("***************Hard Drag**************"); print("**************************************"); print("*****************3.0******************"); print("**************************************"); print("******************By******************"); print("**************************************"); print("***************DjGrand****************"); print("************************************\n"); return 1; SetTimer("reklama",240000, true); // ustawione na 5 minut (możesz zmienić) return 1; } forward reklama(); public reklama() { SendClientMessageToAll(COLOR_GREEN, "Serdecznie zapraszamy na strone klanu GDs!"); SendClientMessageToAll(COLOR_ZOLTY, "www.gd-servers"); SendClientMessageToAll(COLOR_GREEN, "Odwiedz nas jak najszybciej!"); return 1; } } public OnFilterScriptExit() { return 1; } #else main() { print("/n************************************"); print("**************Hard Drag***************"); print("**************************************"); print("*****************3.0******************"); print("**************************************"); print("******************By******************"); print("**************************************"); print("***************DjGrand****************"); print("************************************\n"); } #endif new bramyp2; // pierwsze bramy new bramyp22; // pierwsze bramy new bramyp3; // pierwsze bramy new bramyp33; // pierwsze bramy new bramyp4; //pierwsze bramy new bramyp44; // pierwsze bramy new bramyl1; // bramy linia new bramyl11; // bramylinia new bramyl5; // bramy gora new bramyl55; // bramy gora public OnGameModeInit() { bramyp2 = CreateObject(969, 2848.185791, -2048.505859, 10.091488, 0.0000, 0.0000, 90.0000); // all lock bramyp22 = CreateObject(969, 2848.168945, -2048.819336, 10.090664, 0.0000, 0.0000, 270.0000); bramyp3 = CreateObject(969, 2847.928955, -1981.346191, 10.104378, 0.0000, 0.0000, 270.0000); bramyp33 = CreateObject(969, 2847.968994, -1981.012695, 10.104378, 0.0000, 0.0000, 90.0000); bramyp4 = CreateObject(969, 2848.107910, -1891.332153, 10.276253, 0.0000, 0.0000, 90.0000); bramyp44 = CreateObject(969, 2848.039551, -1891.516479, 10.246563, 0.0000, 0.0000, 270.0000); bramyl1 = CreateObject(8653, 2969.500977, -1965.693481, 11.085850, 0.0000, 0.0000, 0.0000); bramyl11 = CreateObject(8653, 2969.349365, -1958.864136, 11.085850, 0.0000, 0.0000, 180.0000); bramyl5 = CreateObject(972, 2972.975342, -1954.999512, 11.884612, 0.0000, 0.0000, 180.0000); bramyl55 = CreateObject(972, 2972.984131, -1965.973999, 11.859631, 0.0000, 0.0000, 180.0000); // OBIEKTY CreateObject(8355, 2938.469727, -1962.719971, 10.087760, 0.0000, 0.0000, 90.0000); CreateObject(978, 2869.810303, -1931.998901, 10.948586, 0.0000, 0.0000, 112.5000); CreateObject(978, 2873.067383, -1939.683960, 10.948586, 0.0000, 0.0000, 112.5000); CreateObject(978, 2879.212646, -1943.354858, 10.927980, 0.0000, 0.0000, 185.1566); CreateObject(979, 2869.834961, -2007.768433, 10.948588, 0.0000, 0.0000, 78.7500); CreateObject(979, 2871.562744, -1998.892456, 10.948588, 0.0000, 0.0000, 78.7500); CreateObject(979, 2873.272461, -1990.344360, 10.948588, 0.0000, 0.0000, 78.7500); CreateObject(979, 2874.030273, -1986.093506, 11.118021, 0.0000, 0.0000, 78.7500); CreateObject(979, 2879.199707, -1982.397827, 10.927980, 0.0000, 0.0000, 353.1245); CreateObject(10838, 2969.188965, -1962.627441, 26.240192, 0.0000, 0.0000, 0.0000); CreateObject(3330, 2933.990234, -1963.106567, -0.323623, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3075.772949, -1962.734985, 10.089682, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3212.456299, -1962.675293, 10.091603, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3333.991211, -1962.596069, 19.243511, 350.5462, 0.0000, 90.0000); CreateObject(8355, 3552.883301, -1962.620361, 10.093525, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3690.646240, -1962.642334, 10.095447, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3827.590576, -1962.663574, 10.097368, 0.0000, 0.0000, 90.0000); CreateObject(8355, 3990.030029, -1962.713745, 6.699317, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4125.147461, -1962.758911, 6.701238, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4261.663574, -1962.801147, 6.703160, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4275.278809, -1962.903320, -5.944943, 347.1084, 0.0000, 90.0000); CreateObject(8355, 4461.225098, -1962.978760, 6.705081, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4597.708496, -1962.927368, 6.707003, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4735.138672, -1962.988037, 6.708925, 0.0000, 0.0000, 90.0000); CreateObject(8355, 4881.544434, -1963.069702, 6.710846, 0.0000, 0.0000, 90.0000); CreateObject(8355, 5019.586914, -1963.072388, 6.712768, 0.0000, 0.0000, 90.0000); CreateObject(8355, 5150.014648, -1963.042725, 22.739534, 343.6707, 0.0000, 90.0000); CreateObject(8355, 5100.502930, -1963.088013, 10.535673, 349.6868, 0.0000, 90.0000); CreateObject(8355, 5412.549805, -1963.082886, 0.539682, 0.0000, 0.0000, 90.0000); CreateObject(8355, 5545.707520, -1963.120483, 2.541604, 358.2811, 0.0000, 90.0000); CreateObject(8355, 5683.630859, -1963.106567, 4.578114, 0.0000, 0.0000, 90.0000); CreateObject(10838, 5712.826172, -1962.563599, 22.130524, 0.0000, 0.0000, 0.0000); CreateObject(8343, 5738.737305, -1938.343994, 4.579640, 0.0000, 0.0000, 270.0000); CreateObject(5353, 5600.086914, -1913.990723, 6.240186, 0.0000, 0.0000, 180.0000); CreateObject(5353, 5414.301270, -1915.674438, 6.140553, 0.0000, 0.0000, 180.0000); CreateObject(5353, 5296.696777, -1916.915649, 5.609306, 0.0000, 0.0000, 180.0000); CreateObject(5353, 5042.317871, -1918.501709, 3.142095, 0.0000, 0.0000, 180.0000); CreateObject(5353, 3935.907227, -1923.468994, 3.145473, 0.0000, 359.1406, 177.4220); CreateObject(5353, 3757.737061, -1916.799072, 3.156128, 0.0000, 359.1406, 357.4220); CreateObject(5353, 3572.479492, -1909.910522, 3.116928, 0.0000, 359.1406, 177.4221); CreateObject(5353, 3387.107178, -1902.993042, 3.022386, 0.0000, 359.1406, 357.4221); CreateObject(5353, 3204.594482, -1896.190063, 2.984188, 0.0000, 359.1406, 177.4221); CreateObject(5353, 3017.750732, -1889.809082, 3.001578, 0.0000, 359.1406, 357.4222); CreateObject(979, 2989.201660, -1873.997681, 1.746860, 0.0000, 0.0000, 225.0000); CreateObject(981, 2972.180420, -1880.183716, 1.452404, 0.0000, 0.0000, 191.2500); CreateObject(8263, 2943.955566, -1943.095459, 13.188787, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3063.754150, -1943.127686, 13.190708, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3183.168945, -1943.124146, 13.190708, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3271.158203, -1943.082886, 13.192631, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3543.757568, -1943.003906, 13.194551, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3663.549561, -1943.042358, 13.194551, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3783.248047, -1943.056885, 13.196474, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3837.742920, -1943.110229, 13.198395, 0.0000, 0.0000, 0.0000); CreateObject(8263, 3980.885254, -1943.165527, 9.800344, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4100.635254, -1943.127441, 9.800341, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4220.468262, -1943.222656, 9.802265, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4282.919434, -1943.221558, 9.804188, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4452.198730, -1943.401123, 9.806108, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4571.946289, -1943.431763, 9.806108, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4691.809082, -1943.316406, 9.808030, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4811.595703, -1943.445923, 9.809952, 0.0000, 0.0000, 0.0000); CreateObject(8263, 4931.300293, -1943.481689, 9.811872, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5051.183594, -1943.476929, 9.813795, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5403.425293, -1943.474854, 3.640709, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5523.105957, -1943.416138, 3.640709, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5643.044434, -1943.339844, 6.962485, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5682.376465, -1943.530273, 7.679141, 0.0000, 0.0000, 0.0000); CreateObject(8263, 5720.757813, -1982.662720, 7.680667, 0.0000, 0.0000, 180.0000); CreateObject(8263, 5403.381348, -1982.594482, 3.589686, 0.0000, 0.0000, 180.0000); CreateObject(8263, 5522.922363, -1982.578979, 3.640709, 0.0000, 0.0000, 180.0000); CreateObject(8263, 5642.345703, -1982.697998, 6.881310, 0.0000, 0.0000, 180.0000); CreateObject(8263, 2940.733154, -1982.186890, 13.112714, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3060.528809, -1982.218872, 13.190708, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3180.217041, -1982.250488, 13.190708, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3271.941650, -1982.262207, 13.192631, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3543.522461, -1982.192017, 13.194551, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3663.041748, -1982.185181, 13.194551, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3782.476563, -1982.199341, 13.196474, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3836.539307, -1982.108521, 13.198395, 0.0000, 0.0000, 180.0000); CreateObject(8263, 3980.715088, -1982.292847, 9.800344, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4100.297363, -1982.264526, 9.800344, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4220.158691, -1982.246460, 9.802265, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4283.102051, -1982.240845, 9.804187, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4452.022949, -1982.476318, 9.806108, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4571.802246, -1982.507568, 9.806108, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4691.461426, -1982.514893, 9.808030, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4811.361328, -1982.578369, 9.809952, 0.0000, 0.0000, 180.0000); CreateObject(8263, 4931.043945, -1982.598389, 9.811872, 0.0000, 0.0000, 180.0000); CreateObject(8263, 5050.592773, -1982.592529, 9.813795, 0.0000, 0.0000, 180.0000); CreateObject(5353, 5579.938965, -1914.717285, 4.437147, 0.0000, 357.4217, 180.0000); CreateObject(5353, 4881.517578, -1920.070068, 3.972495, 0.0000, 357.4217, 180.0000); CreateObject(5353, 4693.043457, -1921.074951, 3.897067, 0.0000, 357.4217, 0.0001); CreateObject(5353, 4522.200195, -1921.681641, 4.529183, 0.0000, 357.4217, 180.0001); CreateObject(5353, 4333.615723, -1923.382324, 4.582965, 0.0000, 357.4217, 0.0002); CreateObject(5353, 4165.596191, -1923.701172, 5.476391, 0.0000, 357.4217, 180.0002); CreateObject(5353, 3975.633789, -1924.911865, 5.482108, 0.0000, 357.4217, 0.0003); CreateObject(981, 2944.553711, -1884.765747, 1.419382, 0.0000, 0.0000, 191.2500); CreateObject(5353, 4643.753906, -1921.564331, 1.077965, 0.0000, 357.4217, 180.0001); CreateObject(5353, 5138.240234, -1917.890991, 4.016616, 0.0000, 0.0000, 180.0001); CreateObject(18449, 2907.963867, -1896.499390, 4.228887, 0.0000, 10.3132, 0.0000); CreateObject(1633, 2864.984131, -1892.396606, 10.534679, 0.0000, 0.0000, 270.0000); CreateObject(1633, 2864.991455, -1896.445190, 10.557504, 0.0000, 0.0000, 270.0000); CreateObject(1633, 2864.925049, -1900.463501, 10.534679, 0.0000, 0.0000, 270.0000); CreateObject(3749, 2846.750732, -1981.100952, 15.795911, 0.0000, 0.0000, 90.0000); //auta AddStaticVehicle(411,2853.2808,-1969.8074,10.7497,249.0823,64,1); // AddStaticVehicle(411,2853.6064,-1965.3596,10.7428,249.0825,64,1); // AddStaticVehicle(411,2853.3772,-1961.0101,10.7319,249.0826,64,1); // AddStaticVehicle(411,2853.3188,-1954.6022,10.7299,249.0840,64,1); // AddStaticVehicle(411,2853.8425,-1949.9468,10.7501,249.0831,64,1); // AddStaticVehicle(411,2854.1289,-1945.6394,10.7456,247.7865,64,1); // AddStaticVehicle(411,2853.4705,-1940.0736,10.7506,247.7844,64,1); // AddStaticVehicle(411,2854.0674,-1936.4873,10.7428,247.7844,64,1); // AddStaticVehicle(541,2852.5291,-1933.4159,10.6449,246.1990,58,8); // AddStaticVehicle(541,2853.2166,-1929.6011,10.6402,246.1991,58,8); // AddStaticVehicle(541,2852.9890,-1924.5364,10.6116,246.1995,58,8); // AddStaticVehicle(541,2853.2949,-1920.6990,10.6416,246.1972,58,8); // AddStaticVehicle(541,2853.4595,-1915.9882,10.6202,246.1972,58,8); // AddStaticVehicle(541,2853.8462,-1911.1028,10.6244,246.1969,58,8); // AddStaticVehicle(541,2853.8059,-1906.4740,10.6128,246.2070,58,8); // AddStaticVehicle(541,2853.6814,-1901.7305,10.6065,246.2032,58,8); // AddStaticVehicle(451,2852.6116,-1991.2048,10.7121,291.8626,36,36); // AddStaticVehicle(451,2853.2163,-1994.9415,10.7151,291.8624,36,36); // AddStaticVehicle(451,2853.6816,-1999.2931,10.7038,291.8625,36,36); // AddStaticVehicle(451,2853.4033,-2004.2101,10.6865,291.8622,36,36); // AddStaticVehicle(451,2852.7927,-2008.4395,10.6899,291.8622,36,36); // AddStaticVehicle(451,2853.1533,-2013.7445,10.7050,291.8621,36,36); // AddStaticVehicle(451,2853.2109,-2017.8466,10.7042,291.8620,36,36); // AddStaticVehicle(451,2853.3621,-2021.8843,10.7083,291.8620,36,36); // AddStaticVehicle(451,2852.8428,-2026.5076,10.7165,291.8620,36,36); // AddStaticVehicle(451,2852.8352,-2030.4174,10.6961,291.8620,36,36); // AddStaticVehicle(451,2852.6904,-2034.6671,10.7021,291.8621,36,36); // AddStaticVehicle(451,2852.2136,-2037.1331,10.7069,291.8620,36,36); // } public OnPlayerCommandText(playerid, cmdtext[]) { //komendy na bramy if(strcmp(cmdtext, "/brama1.c", true) == 0) { GameTextForPlayer(playerid, "~n~Zamykanie bram glownych", 2500, 5); MoveObject(bramyp2, 2848.185791, -2048.505859, 10.091488, 4); // zamknieta brama MoveObject(bramyp22, 2848.168945, -2048.819336, 10.090664, 4); } return 1; } if(strcmp(cmdtext, "/brama1.o", true) == 0) { GameTextForPlayer(playerid, "~n~Otwieranie bram glownych", 2500, 5); MoveObject(bramyp2, 2848.185791, -2040.454346, 10.091488, 4); // otwarta brama MoveObject(bramyp22, 2848.168945, -2056.721191, 10.090664, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/brama2.c", true) == 0) { GameTextForPlayer(playerid, "~n~Zamykanie bramy do broni", 2500, 5); MoveObject(bramyp3, 2847.928955, -1981.346191, 10.104378, 4); MoveObject(bramyp33, 2847.968994, -1981.012695, 10.104378, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/brama2.o", true) == 0) { GameTextForPlayer(playerid, "~n~Otwieranie bramy do broni", 2500, 5); MoveObject(bramyp3, 2847.928955, -1986.751465, 10.104378, 4); // otwarta brama MoveObject(bramyp33, 2847.968994, -1975.382202, 10.104378, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/brama3.c", true) == 0) { GameTextForPlayer(playerid, "~n~Zamykanie bramy wjazdowej", 2500, 5); MoveObject(bramyp4, 2848.107910, -1891.332153, 10.276253, 4); MoveObject(bramyp44, 2848.039551, -1891.516479, 10.246563, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/brama3.o", true) == 0) { GameTextForPlayer(playerid, "~n~Otwieranie bramy wjazdowej", 2500, 5); MoveObject(bramyp4, 2848.107910, -1883.474487, 10.276253, 4); // otwarta brama MoveObject(bramyp44, 2848.014648, -1899.672974, 10.246563, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/linia.c", true) == 0) { GameTextForPlayer(playerid, "~n~Zamykanie bramy do broni", 2500, 5); MoveObject(bramyl1, 2969.500977, -1965.693481, 11.085850, 4); MoveObject(bramyl11, 2969.349365, -1958.864136, 11.085850, 4); // zamknieta brama } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/linia.o", true) == 0) { GameTextForPlayer(playerid, "~n~Otwieranie bramy do broni", 2500, 5); MoveObject(bramyl1, 2969.500977, -1965.693481, 9.385876, 4); // otwarta brama MoveObject(bramyl11, 2969.349365, -1958.864136, 9.385876, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/gornab.c", true) == 0) { GameTextForPlayer(playerid, "~n~Zamykanie bramy do broni", 2500, 5); MoveObject(bramyl5, 2972.975342, -1954.999512, 11.884612, 4); // zamknieta brama MoveObject(bramyl55, 2972.984131, -1965.973999, 11.859631,4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } if(strcmp(cmdtext, "/gornab.o", true) == 0) { GameTextForPlayer(playerid, "~n~Otwieranie bramy do broni", 2500, 5); MoveObject(bramyl5, 2972.975342, -1930.217896, 11.884612, 4); // otwarta brama MoveObject(bramyl55, 2972.934326, -1990.578247, 11.859631, 4); } else { SendClientMessage(playerid, COLOR_RED," ***Nie jestes adminem - Nie mozesz uzyc tej komendy***"); } return 1; } // TELEPORT if(strcmp(cmdtext, "/hd-tp", true) == 0 && IsPlayerAdmin(playerid)) { SetPlayerInterior(playerid, 0); if(GetPlayerState(playerid) == 2) { new vehicleid = GetPlayerVehicleID(playerid); LinkVehicleToInterior(vehicleid, 0); SetVehiclePos(vehicleid, 2890.325928, -1129.823608, 10.934025); SetVehicleZAngle(vehicleid, 0); } else { SetPlayerPos(playerid, 2890.325928, -1129.823608, 10.934025); SetPlayerFacingAngle(playerid, 0); } return 1; } if(strcmp(cmdtext, "/40.help", true) == 0 && IsPlayerAdmin(playerid)){ SendClientMessage(playerid, COLOR_GREEN,"Komendy Drift Track By DjGrand"); SendClientMessage(playerid, COLOR_YELLOW,"/dt-tp - teleport"); SendClientMessage(playerid, COLOR_GREEN,"Admin Base 0.0 By DjGrand (www.Gta-Play.pl - zapraszamy)"); return 1; } return 0; } public OnPlayerConnect(playerid) { SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW,""); SendClientMessage(playerid,COLOR_YELLOW," Na serwerze jest Drift Track 4.0 By DjGrand wpisz /40.help aby ujżec CMD (www.Gta-Play.pl - zapraszamy)"); return 1; }