Question

Здраствуйте подскажите пожалуйста почему когда я добавил в мод около 20 удаленных обьектов у меня отказывается работать ввод пароля т.е. диалог открывается а вот пароль ввести не могу. Потом я закомпилировал эти обьекты все норм пароль вводится.

 

	RemoveBuildingForPlayer(playerid, 1228, -1701.8900, -2809.0901, 13.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 1228, -1703.8600, -2808.1399, 13.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 1228, -1700.0900, -2797.4299, 12.7000, 0.25);
	RemoveBuildingForPlayer(playerid, 1228, -1701.6801, -2796.3999, 12.7000, 0.25);
	RemoveBuildingForPlayer(playerid, 1228, -1691.4500, -2792.0601, 11.6000, 0.25);
	RemoveBuildingForPlayer(playerid, 1228, -1692.9500, -2791.0500, 11.6000, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1701.1400, -2808.0901, 13.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1702.9000, -2806.9800, 13.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1699.2000, -2796.0000, 12.5500, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1700.3000, -2794.7000, 12.5500, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1690.8000, -2790.6699, 11.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 1225, -1692.2400, -2789.7100, 11.4500, 0.25);
	RemoveBuildingForPlayer(playerid, 689, -1657.6801, -2799.6799, 9.6610, 0.25);
	RemoveBuildingForPlayer(playerid, 785, -1657.6801, -2799.6799, 9.6610, 0.25);

добавлял эти обьекты в сток 

stock RemoveBuild(playerid)

 

Share this post


Link to post

2 answers to this question

  • 0

Покажи полный сток и где он вызывается

Share this post


Link to post
  • 0

Вот сам сток полностью

 

Спойлер

stock RemoveBuild(playerid)//Удалёные объекты
{
//============================== черный дельфин ================================
/*    RemoveBuildingForPlayer(playerid, 1228, -1701.8900, -2809.0901, 13.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, -1703.8600, -2808.1399, 13.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, -1700.0900, -2797.4299, 12.7000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, -1701.6801, -2796.3999, 12.7000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, -1691.4500, -2792.0601, 11.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, -1692.9500, -2791.0500, 11.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1701.1400, -2808.0901, 13.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1702.9000, -2806.9800, 13.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1699.2000, -2796.0000, 12.5500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1700.3000, -2794.7000, 12.5500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1690.8000, -2790.6699, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, -1692.2400, -2789.7100, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 689, -1657.6801, -2799.6799, 9.6610, 0.25);
    RemoveBuildingForPlayer(playerid, 785, -1657.6801, -2799.6799, 9.6610, 0.25);
*/
    //О ГИБДД
    RemoveBuildingForPlayer(playerid, 2067, 2716.7500, -2454.0200, 21.2635, 0.25);
    RemoveBuildingForPlayer(playerid, 2068, 2716.7500, -2454.0200, 21.2635, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2745.5701, -2473.4900, 20.7000, 0.25);
    RemoveBuildingForPlayer(playerid, 1697, 2703.5000, -2422.1399, 27.1750, 0.25);
    RemoveBuildingForPlayer(playerid, 1697, 2736.3899, -2421.7600, 27.1750, 0.25);
    RemoveBuildingForPlayer(playerid, 2069, 2716.7500, -2454.0200, 21.2635, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2704.9900, -2447.2400, 25.0200, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2715.5200, -2447.2400, 25.0200, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2723.3000, -2447.2400, 25.0200, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2731.1201, -2447.2400, 25.0200, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2705.5200, -2450.7500, 30.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2712.4700, -2450.7500, 30.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2726.7400, -2450.7500, 30.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2719.1699, -2450.7500, 30.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1709, 2733.2100, -2450.7500, 30.8000, 0.25);

    // для квартир FRDCMP
    RemoveBuildingForPlayer(playerid, 620, 2317.8301, -1661.6801, 21.1543, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2370.2000, -1684.8500, 20.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 1982, 2380.5000, -1679.7400, 21.5000, 0.25);
    //автосалон
    RemoveBuildingForPlayer(playerid, 1932, 2329.5901, -1803.4301, 22.9500, 0.25);
    //военкомат
    RemoveBuildingForPlayer(playerid, 1923, 2353.0000, -1719.9399, 24.1812, 0.25);
    RemoveBuildingForPlayer(playerid, 1925, 2349.3000, -1719.9399, 24.1812, 0.25);
    RemoveBuildingForPlayer(playerid, 627, 2373.9199, -1714.1300, 20.7377, 0.25);
    RemoveBuildingForPlayer(playerid, 970, 2373.8999, -1709.9600, 21.5000, 0.25);
    ///
    RemoveBuildingForPlayer(playerid, 1932, 2329.5901, -1803.4301, 22.9500, 0.25);
    //КСГО
    RemoveBuildingForPlayer(playerid, 2400, 1919.6500, -1950.4600, 32.0295, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1863.5000, -2008.4200, 31.1700, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1872.7600, -2007.9100, 31.1700, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1870.6801, -2008.1801, 31.1700, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1868.1100, -2008.2400, 31.1700, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1865.3300, -2007.9700, 31.1700, 0.25);
    RemoveBuildingForPlayer(playerid, 1282, 1869.3300, -2008.0000, 31.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 1282, 1866.7300, -2007.9700, 31.6000, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1859.8600, -1984.8199, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1860.9301, -1985.3300, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1859.3800, -1983.8400, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1858.3400, -1984.2500, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1860.5000, -1983.9399, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1933.9600, -1932.9000, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1935.0800, -1933.0100, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1924.4000, -1910.0601, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1985.8300, -1899.8101, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1987.0500, -1901.1600, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1987.4600, -1900.2700, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1890.4500, -1938.7000, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1891.9700, -1939.1400, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1933.8300, -1943.4200, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1933.7400, -1945.2700, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1938.9399, -1931.4800, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1939.1200, -1929.6500, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 1939.1600, -1927.9800, 31.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1945.7600, -1932.5800, 24.5400, 0.25);
    //ХЗ
    RemoveBuildingForPlayer(playerid, 636, 113.3020, 944.2350, 6.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 636, 89.6086, 907.7760, 6.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 636, 94.1774, 928.6210, 6.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 118.1410, 922.7540, 11.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 111.7630, 907.6680, 11.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 4100, 94.0358, 891.6980, 15.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 2739.8899, -2170.1499, 21.2980, 0.25);
    RemoveBuildingForPlayer(playerid, 1228, 2736.9700, -2170.0500, 21.2980, 0.25);
    RemoveBuildingForPlayer(playerid, 1730, 2734.1399, -2206.0901, 20.9400, 0.25);
    RemoveBuildingForPlayer(playerid, 626, 2579.6299, -1775.0200, 20.8000, 0.25);
    //28.10.16
    //ЮЖНЫЙ
    RemoveBuildingForPlayer(playerid, 970, 2373.8999, -1709.9600, 21.5000, 0.25);
    RemoveBuildingForPlayer(playerid, 2440, 2147.4800, -2300.5200, 36.0896, 0.25);
    RemoveBuildingForPlayer(playerid, 2445, 2147.4800, -2300.5200, 36.0896, 0.25);
    //Инструтктора
    RemoveBuildingForPlayer(playerid, 4438, 280.1140, 678.4530, 11.0700, 0.25);
    RemoveBuildingForPlayer(playerid, 4439, 274.6110, 679.4790, 11.0700, 0.25);
    //ДОМ
    RemoveBuildingForPlayer(playerid, 4335, 560.0170, 698.4260, 15.5500, 0.25);
    RemoveBuildingForPlayer(playerid, 4349, 560.0170, 698.4260, 15.5500, 0.25);
    RemoveBuildingForPlayer(playerid, 4363, 560.0170, 698.4260, 15.5500, 0.25);
    //АВТОСАЛОН
    RemoveBuildingForPlayer(playerid, 5301, 2475.7300, -719.2750, 27.2800, 0.25);
    RemoveBuildingForPlayer(playerid, 5303, 2477.1299, -726.2430, 12.7400, 0.25);
    //НАРКОПРИТОН
    RemoveBuildingForPlayer(playerid, 4523, 100.5710, 1689.1400, 10.8700, 0.25);
    RemoveBuildingForPlayer(playerid, 4524, 100.5710, 1689.1400, 10.8700, 0.25);
    RemoveBuildingForPlayer(playerid, 4536, 115.4130, 1683.6300, 9.7300, 0.25);
    RemoveBuildingForPlayer(playerid, 4537, 115.4130, 1683.6300, 9.7300, 0.25);
    RemoveBuildingForPlayer(playerid, 1788, 113.8530, 1680.2000, 0.2494, 0.25);
    RemoveBuildingForPlayer(playerid, 1785, 113.8610, 1680.2000, 5.1450, 0.25);
    RemoveBuildingForPlayer(playerid, 1217, 109.4480, 1670.7300, 11.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1218, 108.8670, 1671.6899, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1222, 110.0820, 1671.6100, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 109.7200, 1672.5500, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 110.7770, 1672.3101, 11.4500, 0.25);
    RemoveBuildingForPlayer(playerid, 1217, 110.4550, 1673.2300, 11.4000, 0.25);
    RemoveBuildingForPlayer(playerid, 1245, 138.0830, 1685.6500, 12.1912, 0.25);
    RemoveBuildingForPlayer(playerid, 1219, 107.9550, 1669.7800, 12.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 1220, 108.1100, 1675.4500, 11.3100, 20);
    RemoveBuildingForPlayer(playerid, 1221, 108.8930, 1674.7000, 12.0500, 20);
    RemoveBuildingForPlayer(playerid, 1224, 89.7273, 1680.9000, 11.6000, 20);
    RemoveBuildingForPlayer(playerid, 1217, 95.3889, 1692.6300, 11.4000, 10);
    RemoveBuildingForPlayer(playerid, 1225, 94.7795, 1690.5601, 11.4500, 5);
    //ПРОДУКТОВОДЫ :D
    RemoveBuildingForPlayer(playerid, 4091, -401.5930, 1017.1700, 12.0010, 0.25);
    RemoveBuildingForPlayer(playerid, 4094, -401.5930, 1017.1700, 12.0010, 0.25);
    RemoveBuildingForPlayer(playerid, 4092, -355.4720, 1024.9500, 11.0010, 0.25);
    RemoveBuildingForPlayer(playerid, 4097, -355.4720, 1024.9500, 11.0010, 0.25);
    RemoveBuildingForPlayer(playerid, 4093, -355.4720, 1024.9500, 11.0010, 0.25);
    RemoveBuildingForPlayer(playerid, 4283, -353.8310, 1024.9000, 12.1790, 0.25);
    //СПАВН
    RemoveBuildingForPlayer(playerid, 4101, -111.9000, 959.9410, 12.8756, 15);
    //24/7
    RemoveBuildingForPlayer(playerid, 10204, 366.7580, -4.3438, 1003.0900, 0.25);
    RemoveBuildingForPlayer(playerid, 10205, 367.3200, -3.1797, 1000.8400, 0.25);
    //Солнцевская ОПГ
    RemoveBuildingForPlayer(playerid, 2359, 2342.6799, -2624.7300, 21.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 2360, 2342.6799, -2624.7300, 21.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 2363, 2313.9600, -2650.3000, 22.1950, 0.25);
    RemoveBuildingForPlayer(playerid, 2370, 2313.9600, -2650.3000, 22.1950, 0.25);
    RemoveBuildingForPlayer(playerid, 2365, 2339.5701, -2605.5100, 20.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 2372, 2339.5701, -2605.5100, 20.0100, 0.25);
    RemoveBuildingForPlayer(playerid, 4104, 2343.3101, -2631.0000, 21.6500, 0.25);
    RemoveBuildingForPlayer(playerid, 4104, 2343.4199, -2632.8101, 21.6500, 0.25);
    RemoveBuildingForPlayer(playerid, 4104, 2343.4299, -2634.3301, 21.6500, 0.25);
    RemoveBuildingForPlayer(playerid, 1227, 2338.9800, -2627.1001, 21.8800, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2344.2100, -2635.0400, 20.9000, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2344.1699, -2619.6399, 20.9000, 0.25);
    //ЛАВОЧКА У УВД
    RemoveBuildingForPlayer(playerid, 2028, 2572.5801, -2420.6599, 22.8600, 0.25);
    //Прокуратура ЗАБОР
    RemoveBuildingForPlayer(playerid, 1411, -186.8681, 640.8202, 12.6000, 30.0); 
    RemoveBuildingForPlayer(playerid, 4286, -232.8100, 637.5840, 12.2334, 0.25);
    RemoveBuildingForPlayer(playerid, 4294, -232.8100, 637.5840, 12.2334, 0.25);
    // ТРЕНАЖЕРЫ В ЮЖНОМ
    RemoveBuildingForPlayer(playerid, 1937, 2397.6599, -1836.6200, 22.9900, 0.25);
    RemoveBuildingForPlayer(playerid, 1302, 2389.0100, -1839.2800, 20.8500, 0.25);
    RemoveBuildingForPlayer(playerid, 1209, 2388.8601, -1836.5000, 20.8500, 0.25);
    RemoveBuildingForPlayer(playerid, 10009, 2388.8701, -1833.7100, 20.8500, 0.25);
    RemoveBuildingForPlayer(playerid, 10010, 2388.7000, -1830.9399, 21.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 10011, 2388.7200, -1828.1400, 21.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 10012, 2388.9600, -1826.0699, 21.2500, 0.25);
    RemoveBuildingForPlayer(playerid, 10013, 2388.9299, -1823.3300, 21.2500, 0.25);
    RemoveBuildingForPlayer(playerid, 10016, 2388.0100, -1842.9000, 20.8400, 0.25);
    RemoveBuildingForPlayer(playerid, 10017, 2387.6299, -1821.1100, 20.8500, 0.25);
    RemoveBuildingForPlayer(playerid, 10018, 2388.0901, -1848.5900, 20.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 10019, 2388.7600, -1854.5900, 20.8700, 0.25);
    //ЮЖНЫЙ АВТОСАЛОН ТРАНПЛИНЫ
    RemoveBuildingForPlayer(playerid, 1245, 2688.1804,-2456.8926,21.7000, 200); //
    //ЮЖНЫЙ ДЕРЕВЬЯ У ПАРКОВКИ
    RemoveBuildingForPlayer(playerid, 2384,2419.29,-2601.62,21.2022, 50);
    RemoveBuildingForPlayer(playerid, 2389,2419.29,-2601.62,21.2022, 50); 
    //РОГОВИЧИ
    RemoveBuildingForPlayer(playerid, 9188, 1994.6899, 546.3730, 8.4787, 60);
    RemoveBuildingForPlayer(playerid, 629, 1788.0000, 580.0390, 9.2287, 60);
    RemoveBuildingForPlayer(playerid, 633, 1844.4200, 583.5190, 10.3458, 60);
    //ПАРК АРЗАМАС ДЕРЕВЬЯ
    RemoveBuildingForPlayer(playerid, 4712, -180.7450, 793.9010, 22.1210, 0.25);
    RemoveBuildingForPlayer(playerid, 4734, -227.3530, 827.7020, 22.1210, 0.25);
    //
    RemoveBuildingForPlayer(playerid, 637, -200.6500, 1746.8400, 10.8000, 0.25);
    //TOLEDO
    RemoveBuildingForPlayer(playerid, 5300, 2475.7300, -686.6510, 11.3000, 0.25);
    RemoveBuildingForPlayer(playerid, 5304, 2475.7300, -686.6510, 11.3000, 0.25);
    RemoveBuildingForPlayer(playerid, 5302, 2475.7300, -686.6510, 11.3000, 0.25);
    RemoveBuildingForPlayer(playerid, 5301, 2475.7300, -719.2750, 27.2800, 0.25);
    RemoveBuildingForPlayer(playerid, 5303, 2477.1299, -726.2430, 12.7400, 0.25);
    //банк 
    RemoveBuildingForPlayer(playerid, 1986, 2351.1399, -2128.6599, 20.9760, 0.25);
    RemoveBuildingForPlayer(playerid, 1988, 2351.1399, -2128.6599, 20.9760, 0.25);
    RemoveBuildingForPlayer(playerid, 1987, 2376.6799, -2134.5500, 20.9760, 0.25);
    RemoveBuildingForPlayer(playerid, 1989, 2376.6799, -2134.5500, 20.9760, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2350.1599, -2094.9500, 20.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2355.0701, -2100.2300, 20.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2383.5200, -2100.2100, 20.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 1983, 2380.0801, -2062.0701, 20.9760, 0.25);
    //новый спавн
    RemoveBuildingForPlayer(playerid, 1716, 2193.6799, -1743.4301, 20.9500, 0.25);
    RemoveBuildingForPlayer(playerid, 1716, 2165.8701, -1743.4200, 17.9500, 0.25);

    //Порт2
    RemoveBuildingForPlayer(playerid, 2078, 2769.2500, -2582.7200, -16.4546, 0.25);
    RemoveBuildingForPlayer(playerid, 2079, 2769.2500, -2582.7200, -16.4546, 0.25);
    RemoveBuildingForPlayer(playerid, 2080, 2769.2500, -2582.7200, -16.4546, 0.25);
    //Лат. Братва
    RemoveBuildingForPlayer(playerid, 8676, -2479.5901, 124.5770, 17.5901, 0.25);
    RemoveBuildingForPlayer(playerid, 8696, -2479.5901, 124.5770, 17.5901, 0.25);
    //Оружейка
    RemoveBuildingForPlayer(playerid, 5483, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5493, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5486, 135.3400, -2391.9399, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5485, 168.5230, -2391.9399, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5488, 136.3360, -2392.8301, 33.5493, 0.25);
    RemoveBuildingForPlayer(playerid, 5484, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5487, 152.0250, -2413.1799, 32.1732, 0.25);
    RemoveBuildingForPlayer(playerid, 5489, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5490, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5491, 152.0400, -2401.6001, 35.1538, 0.25);
    RemoveBuildingForPlayer(playerid, 5492, 152.0400, -2401.6001, 34.6500, 0.25);
    RemoveBuildingForPlayer(playerid, 5494, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5495, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 5497, 152.0400, -2401.6001, 34.3200, 0.25);
    RemoveBuildingForPlayer(playerid, 785, 187.0280, -2323.0500, 39.9990, 0.25);
    RemoveBuildingForPlayer(playerid, 785, 224.4260, -2357.5601, 38.8740, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 153.1460, -2425.1899, 32.9065, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 140.1520, -2415.3701, 32.5546, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 142.1500, -2407.4399, 32.1789, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 129.5360, -2396.0701, 32.1459, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 142.6180, -2393.9700, 32.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 153.5600, -2399.5701, 32.1678, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 158.8210, -2409.5601, 32.1922, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 173.6460, -2404.6101, 32.7354, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 161.9730, -2391.8501, 32.0190, 0.25);
    RemoveBuildingForPlayer(playerid, 707, 176.6560, -2389.0400, 32.2232, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 155.0230, -2409.3799, 32.9011, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 148.9480, -2409.3401, 32.8964, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 148.9220, -2417.0801, 32.8976, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 155.0880, -2416.9500, 32.9027, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 139.3320, -2411.1799, 32.9024, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 135.5040, -2404.2000, 32.8917, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 168.4830, -2404.8401, 32.8966, 0.25);
    RemoveBuildingForPlayer(playerid, 1256, 164.2650, -2411.6399, 32.9053, 0.25);
    //Рынок Южный
    RemoveBuildingForPlayer(playerid, 1716, 2295.2900, -1980.3000, 20.9500, 0.25);
    //КС
    RemoveBuildingForPlayer(playerid, 1282, 1858.8300, -2008.0000, 31.6000, 20.0);
    RemoveBuildingForPlayer(playerid, 1228, 1863.5000, -2008.4200, 31.1700, 20.0);
    RemoveBuildingForPlayer(playerid, 1218, 1859.2400, -1985.8600, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1217, 1858.7300, -1985.0300, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1217, 1860.2000, -1986.0000, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1222, 1858.4500, -1986.1899, 31.3400, 0.25);
    RemoveBuildingForPlayer(playerid, 1225, 1859.8600, -1984.8199, 31.3400, 20.0);
    //Новый спавн в Арзамасе
    RemoveBuildingForPlayer(playerid, 4100, 141.7050, 1353.4000, 15.8000, 0.25);
    //Аэропорт Батырево
    RemoveBuildingForPlayer(playerid, 4941, 1898.8300, 1736.3800, 14.3435, 0.25);
    RemoveBuildingForPlayer(playerid, 4954, 1898.8300, 1736.3800, 14.3435, 0.25);
    RemoveBuildingForPlayer(playerid, 4942, 1898.8300, 1736.3800, 14.3435, 0.25);
    RemoveBuildingForPlayer(playerid, 4943, 1898.8300, 1736.3800, 14.3435, 0.25);
    //Новый банк в Арзамасе
    RemoveBuildingForPlayer(playerid, 4100, 175.0660, 1514.8199, 15.8000, 0.25);
    RemoveBuildingForPlayer(playerid, 4100, 166.2410, 1471.4600, 15.8000, 0.25);
    //Лыткарино
    RemoveBuildingForPlayer(playerid, 3604, -2054.2700, -70.1949, 30.7000, 0.25);
    RemoveBuildingForPlayer(playerid, 3604, -2166.2000, 218.9420, 28.1000, 0.25);
    //Роговичи
    RemoveBuildingForPlayer(playerid, 9161, 2188.5017, 1370.7078, 11.9912, 0.25);
    RemoveBuildingForPlayer(playerid, 9177, 2188.5000, 1370.7100, 11.9912, 0.25);
    RemoveBuildingForPlayer(playerid, 9203, 2348.4890, 1364.2086, 10.9162, 0.25);
    RemoveBuildingForPlayer(playerid, 9212, 2245.3472, 1431.2218, 10.8443, 0.25);
    RemoveBuildingForPlayer(playerid, 9212, 2199.7642, 1419.1273, 10.8443, 0.25);
    RemoveBuildingForPlayer(playerid, 9203, 2348.4890, 1364.2086, 10.9162, 0.25);
    RemoveBuildingForPlayer(playerid, 9212, 2245.3472, 1431.2218, 10.8443, 0.25);
    RemoveBuildingForPlayer(playerid, 9212, 2199.7642, 1419.1273, 10.8443, 0.25);
    //АЗС Южный
    RemoveBuildingForPlayer(playerid, 1953, 2251.020, -1791.819, 23.200, 0.250);
    RemoveBuildingForPlayer(playerid, 2174, 2251.020, -1791.819, 23.200, 0.250);
    RemoveBuildingForPlayer(playerid, 1709, 2245.340, -1791.319, 25.399, 0.250);
    RemoveBuildingForPlayer(playerid, 1709, 2245.340, -1784.859, 25.399, 0.250);
    RemoveBuildingForPlayer(playerid, 1709, 2245.340, -1779.069, 25.399, 0.250);
    RemoveBuildingForPlayer(playerid, 1709, 2245.139, -1796.250, 24.399, 0.250);
    RemoveBuildingForPlayer(playerid, 2118, 2252.330, -1802.420, 22.379, 0.250);
    RemoveBuildingForPlayer(playerid, 2118, 2236.120, -1802.380, 22.379, 0.250);
    return true;
}

 

а вызывается он вот здесь

 

Спойлер

public OnPlayerConnect(playerid)
{
    new string[128];
    for(new i=0;i<47;i++) Weapons[playerid]=0;
    if(playerid == INVALID_PLAYER_ID) return Kick(playerid);
    
//  new stringss[10];
//  GetPlayerVersion(playerid, stringss, sizeof(stringss));
//    if(strfind(stringss, "LoL4" ) != -1) return SendClientMessage(playerid,COLOR_RED,"Вы были кикнуты с сервера. Причина: использование собейта"),Kick(playerid);

    SetPlayerFacingAngle(playerid, 179.5547);
    SetPlayerCameraPos(playerid, -319.2809, 841.9863, 15.6366);
    SetPlayerPos(playerid,2020.4767,1203.1107,50.2244);
    SetPlayerCameraLookAt(playerid, -319.2207, 840.9904, 15.5815);
    ResetStats(playerid);
    RemoveObject(playerid);
    RemoveBuild(playerid);//Удалёные объекты
    GameTextForPlayer(playerid, "~n~ѓOЂPO ЊO„A‡OBAЏ’~n~ ~n~HA ~r~ ~r~]ROSTOV ROLE PLAY]", 18000, 4);
    GetPlayerIp(playerid, PlayerInfo[playerid][pPlIP], 64);
    ReloadAnimsTimer[playerid]= -1;
    GetPlayerName(playerid, PlayerInfo[playerid][pSendername], MAX_PLAYER_NAME);

    //FLY MODE
    noclipdata[playerid][cameramode] = CAMERA_MODE_NONE;
    noclipdata[playerid][lrold]    = 0;
    noclipdata[playerid][udold] = 0;
    noclipdata[playerid][mode] = 0;
    noclipdata[playerid][lastmove] = 0;
    noclipdata[playerid][accelmul] = 0.0;

 

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Chopick
      By Chopick
      Всем здравствуйте! Делаю систему домов/бизнесов по туториалу knox know с плагином GoodArea. Есть проблема, если заходишь в интерьер бизнеса, то когда выходишь спавнит почему-то на пикап дома.

      Вот енумы:
       
      #define MAX_HOUSES 1000 #define MAX_BIZS 1000 enum house {         hID,         STREAMER_TAG_PICKUP:hPICKUP,         STREAMER_TAG_AREA:hAREA,         hOWNER[MAX_PLAYER_NAME],         STREAMER_TAG_3D_TEXT_LABEL:hTEXT[256],         STREAMER_TAG_MAP_ICON:hICON,         hPRICE,         hCLASS,         hINTERIOR,         Float:hX,         Float:hY,         Float:hZ,         Float:hA,         hCONDITION // Закрыт/Открыт } new House[MAX_HOUSES][house]; new Houses; new HouseGroup; enum biz {         bID,         STREAMER_TAG_PICKUP:bPICKUP,         STREAMER_TAG_AREA:bAREA,         bOWNER[MAX_PLAYER_NAME],         STREAMER_TAG_3D_TEXT_LABEL:bTEXT[256],         STREAMER_TAG_MAP_ICON:bICON,         bNAME[25],         bPRICE,         bTYPE,         bINTERIOR,         Float:bX,         Float:bY,         Float:bZ,         Float:bA } new Biz[MAX_BIZS][biz]; new Bizs; new BizGroup; enum interior_info {         intID,         intNAME[41],         intINTERIOR,         Float:intX,         Float:intY,         Float:intZ,         Float:intA,         STREAMER_TAG_AREA:intAREA } new Interior[MAX_INTERIORS][interior_info]; new Interiors; new InteriorGroup; Вот что у меня в OnGameModeInit:
      HouseGroup = CreateGroupGoodAreas(GoodArea:HouseEnter); InteriorGroup = CreateGroupGoodAreas(GoodArea:InteriorExit); BizGroup = CreateGroupGoodAreas(GoodArea:BizArea);  
      Вот стоки:
      GAResponse:HouseEnter(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 if(key & KEY_WALK)                 {                 if(House[index][hCONDITION] > 0 && House[index][hOWNER] == player_info[playerid][NAME] || House[index][hCONDITION] == 0)                 {                                         GoToInterior(playerid, House[index][hINTERIOR]);                                         SetPlayerVirtualWorld(playerid, index);                                 }                                 else if(House[index][hCONDITION] > 0 && House[index][hOWNER] != player_info[playerid][NAME]) return SCM(playerid, COLOR_RED, "[Ошибка]{ffffff}Этот дом закрыт на ключ!");                         }                 }                 case GA_RESPONSE_ENTER:                 {                     if(House[index][hOWNER] == 0)                     {                         CreateNoOwnerHouseTD(playerid);                         for(new i = 0; i < sizeof NoOwnerTextDraw_PTD[]; i++)                         {                             PlayerTextDrawShow(playerid, NoOwnerTextDraw_PTD[playerid][i]);                                 }                                 new price[8];                                 format(price, sizeof(price), "%d$", House[index][hPRICE]);                                 PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][2], price);                                 new id[9];                                 format(id, sizeof(id), "%d", House[index][hID]);                                 PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][0], id);                                 switch(House[index][hCLASS])                                 {                                     case 1: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "A");                                     case 2: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "B");                                     case 3: PlayerTextDrawSetString(playerid, NoOwnerTextDraw_PTD[playerid][1], "C");                                 }                                 for(new i = 0; i < sizeof NoOwnerTextDraw_TD; i++)                         {                             TextDrawShowForPlayer(playerid, NoOwnerTextDraw_TD[i]);                                 }                         }                 }                 case GA_RESPONSE_LEAVE:                 {                 for(new i = 0; i < sizeof NoOwnerTextDraw_PTD[]; i++)                 {                     PlayerTextDrawHide(playerid, NoOwnerTextDraw_PTD[playerid][i]);                         }                         for(new i = 0; i < sizeof NoOwnerTextDraw_TD; i++)                 {                     TextDrawHideForPlayer(playerid, NoOwnerTextDraw_TD[i]);                         }                 }         }         return 1; } GAResponse:BizArea(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 if(key & KEY_WALK)                 {                     GoToInteriorBiz(playerid, Biz[index][bINTERIOR]);                                 SetPlayerVirtualWorld(playerid, index);                 }                 }         }         return 1; } GAResponse:InteriorExit(playerid, response, key, index) {         switch(response)         {             case GA_RESPONSE_PRESS_KEY:             {                 new world = GetPlayerVirtualWorld(playerid);                 if(key & KEY_WALK)                 {                     if(world < MAX_HOUSES)                     {                         SetPlayerInterior(playerid, 0);                             SetPlayerVirtualWorld(playerid, 0);                             SetPlayerPos(playerid, House[world][hX], House[world][hY], House[world][hZ]);                             SetPlayerFacingAngle(playerid, House[world][hA]);                                 }                                 else if(world < MAX_HOUSES + MAX_BIZS)                     {                         world -= MAX_HOUSES;                                         printf("%d index world", world);                         SetPlayerInterior(playerid, 0);                             SetPlayerVirtualWorld(playerid, 0);                             SetPlayerPos(playerid, Biz[world][bX], Biz[world][bY], Biz[world][bZ]);                             SetPlayerFacingAngle(playerid, Biz[world][bA]);                                 }                         }                         if(key & KEY_CTRL_BACK)                         {                             if(player_info[playerid][HOUSE] != House[world][hID]) return SCM(playerid, COLOR_RED, "[Ошибка]{ffffff}Вы не владелец данного дома!");                             new dialog[256];                                 format(dialog, sizeof(dialog),                                         "{ffd900}[1]{ffffff}Информация о доме\n\                                         {ffd900}[2]{ffffff}%s дом",                                 (House[world][hCONDITION] == 1) ? ("{00ff00}Открыть") : ("{ff0000}Закрыть"));                             SPD(playerid, DLG_HMENU, DIALOG_STYLE_LIST, "{ffd900}Меню дома", dialog, "Выбрать", "Закрыть");                             return 1;                         }                 }         }         return 1; } stock GoToInterior(playerid, interior) {     for(new i = 0; i < Interiors; i++)         {             if(Interior[i][intID] != interior) continue;             SetPlayerInterior(playerid, Interior[i][intINTERIOR]);             SetPlayerPos(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ]);             SetPlayerFacingAngle(playerid, Interior[i][intA]);             SetPlayerCheckpoint(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 1.0);             new str[128];             format(str, sizeof(str),                         "Нажмите \"ALT\" для выхода\n\                         Нажмите \"H\", чтобы открыть меню дома");             Create3DTextLabel(str, -1, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 15.0, 0, 1);             return 1;         }         return 0; } stock GoToInteriorBiz(playerid, interior) {     for(new i = 0; i < Interiors; i++)         {             if(Interior[i][intID] != interior) continue;             SetPlayerInterior(playerid, Interior[i][intINTERIOR]);             SetPlayerPos(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ]);             SetPlayerFacingAngle(playerid, Interior[i][intA]);             SetPlayerCheckpoint(playerid, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 1.0);             new str[128];             format(str, sizeof(str),                         "Нажмите \"ALT\" для выхода");             Create3DTextLabel(str, -1, Interior[i][intX], Interior[i][intY], Interior[i][intZ], 15.0, 0, 1);             return 1;         }         return 0; }  
       
      Что мне делать, подскажите пожалуйста?