Доступ к готовым решениям

Переход в группу "Пользователь"

300.00
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

Мануал Удаление автоматов с газировкой

OKStyle

Адвокат по делам семейным
Administrator
Wiki Team
Регистрация
4 Мар 2011
Сообщения
7,092
Лучшие ответы
226
Репутация
2,455
Награды
11
Много проблем с античитами возникало из-за автоматов с газировкой. Приведённый мною ниже код решит эту проблему.

В OnPlayerConnect пишем:
PHP:
// Coda
RemoveBuildingForPlayer(playerid, 1209, -2420.2188,   984.5781,   44.2969, 0.1); // P'n'S около Jizzy
RemoveBuildingForPlayer(playerid, 1302, -2420.1797,   985.9453,   44.2969, 0.1); // P'n'S около Jizzy

// Chips
RemoveBuildingForPlayer(playerid,  956,  1634.1094, -2237.5313,   12.8906, 0.1); // LS, Airport International
RemoveBuildingForPlayer(playerid,  956,  2139.5156, -1161.4844,   23.3594, 0.1); // LS, Jefferson
RemoveBuildingForPlayer(playerid,  956,  2153.2344, -1016.1484,   62.2344, 0.1); // LS, Las Colinas
RemoveBuildingForPlayer(playerid,  956,  2480.8594, -1959.2734,   12.9609, 0.1); // LS, Willowfield
RemoveBuildingForPlayer(playerid,  956, -2229.1875,   286.4141,   34.7031, 0.1); // SF, Park behind Build
RemoveBuildingForPlayer(playerid,  956, -1350.1172,   493.8594,   10.5859, 0.1); // SF, Avianosec
RemoveBuildingForPlayer(playerid,  956,  1398.8438,  2222.6094,   10.4219, 0.1); // LV, Redsans West, Baseball
RemoveBuildingForPlayer(playerid,  956,  1659.4609,  1722.8594,   10.2188, 0.1); // LV, Airport, Binco
RemoveBuildingForPlayer(playerid,  956,  2647.6953,  1129.6641,   10.2188, 0.1); // LV, Come-a-lot, Gas Station
RemoveBuildingForPlayer(playerid,  956,  2845.7266,  1295.0469,   10.7891, 0.1); // LV, Linden Stantion
RemoveBuildingForPlayer(playerid,  956,   662.4297,  -552.1641,   15.7109, 0.1); // Dillmore, Gas Station
RemoveBuildingForPlayer(playerid,  956,  2271.7266,   -76.4609,   25.9609, 0.1); // Palomino Creek, Library
RemoveBuildingForPlayer(playerid,  956, -1455.1172,  2591.6641,   55.2344, 0.1); // El Quebrados
RemoveBuildingForPlayer(playerid,  956,  -253.7422,  2599.7578,   62.2422, 0.1); // Las Payasadas
RemoveBuildingForPlayer(playerid,  956,   -76.0313,  1227.9922,   19.1250, 0.1); // Fort Carson
RemoveBuildingForPlayer(playerid, 1776,  2155.8438,  1607.8750, 1000.0625, 0.1); // Int 1, LV, Caligula Hall
RemoveBuildingForPlayer(playerid, 1776,  2202.4531,  1617.0078, 1000.0625, 0.1); // Int 1, LV, Caligula Warehouse
RemoveBuildingForPlayer(playerid, 1776,  2209.2422,  1621.2109, 1000.0625, 0.1); // Int 1, LV, Caligula Warehouse
RemoveBuildingForPlayer(playerid, 1776,  2222.3672,  1602.6406, 1000.0625, 0.1); // Int 1, LV, Caligula Garage
RemoveBuildingForPlayer(playerid, 1776,   330.6797,   178.5000, 1020.0703, 0.1); // Int 3, LV, Architec, 3rd Floor
RemoveBuildingForPlayer(playerid, 1776,   331.9219,   178.5000, 1020.0703, 0.1); // Int 3, LV, Architec, 3rd Floor
RemoveBuildingForPlayer(playerid, 1776,   350.9063,   206.0859, 1008.4766, 0.1); // Int 3, LV, Architec, Office
RemoveBuildingForPlayer(playerid, 1776,   361.5625,   158.6172, 1008.4766, 0.1); // Int 3, LV, Architec, Hall
RemoveBuildingForPlayer(playerid, 1776,   371.5938,   178.4531, 1020.0703, 0.1); // Int 3, LV, Architec, 3rd Floor
RemoveBuildingForPlayer(playerid, 1776,   374.8906,   188.9766, 1008.4766, 0.1); // Int 3, LV, Architec, Lounge Hall
RemoveBuildingForPlayer(playerid, 1776,   379.0391,  -178.8828, 1000.7344, 0.1); // Int 17, Ring Donut
RemoveBuildingForPlayer(playerid, 1776,   500.5625,    -1.3672, 1000.7344, 0.1); // Int 17, Club Alhambra
RemoveBuildingForPlayer(playerid, 1776,   -33.8750,  -186.7656, 1003.6328, 0.1); // 24/7
RemoveBuildingForPlayer(playerid, 1776,   -16.5313,  -140.2969, 1003.6328, 0.1); // 24/7
RemoveBuildingForPlayer(playerid, 1776,   -17.5469,   -91.7109, 1003.6328, 0.1); // 24/7
RemoveBuildingForPlayer(playerid, 1776,   -36.1484,   -57.8750, 1003.6328, 0.1); // 24/7

// Sprunk
RemoveBuildingForPlayer(playerid,  955, -2118.9688,  -423.6484,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2118.6172,  -422.4141,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2097.2734,  -398.3359,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2092.0859,  -490.0547,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2068.5625,  -398.3359,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2063.2734,  -490.0547,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2039.8516,  -398.3359,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2034.4609,  -490.0547,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2011.1406,  -398.3359,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -2005.6484,  -490.0547,   34.7266, 0.1); // SF, Stadium
RemoveBuildingForPlayer(playerid,  955, -1980.7891,   142.6641,   27.0703, 0.1); // SF, Depot
RemoveBuildingForPlayer(playerid,  955, -1350.1172,   492.2891,   10.5859, 0.1); // SF, Avianosec
RemoveBuildingForPlayer(playerid,  955,  -862.8281,  1536.6094,   21.9844, 0.1); // Las Barrancas, Cow
RemoveBuildingForPlayer(playerid,  955,  -253.7422,  2597.9531,   62.2422, 0.1); // Las Payasadas, Place
RemoveBuildingForPlayer(playerid,  955,   -14.7031,  1175.3594,   18.9531, 0.1); // Fort Carson, Cow
RemoveBuildingForPlayer(playerid,  955,   201.0156,  -107.6172,    0.8984, 0.1); // Blueberry
RemoveBuildingForPlayer(playerid, 1775,   373.8281,  -178.1406, 1000.7344, 0.1); // Int 17, Ring Donut
RemoveBuildingForPlayer(playerid, 1775,   501.8281,    -1.4297, 1000.7344, 0.1); // Int 17, Club Alhambra
RemoveBuildingForPlayer(playerid, 1775,   495.9688,   -24.3203, 1000.7344, 0.1); // Int 17, Club Alhambra (Exit)
RemoveBuildingForPlayer(playerid,  955,  1154.7266, -1460.8906,   15.1563, 0.1); // LS, Market
RemoveBuildingForPlayer(playerid,  955,  1277.8359,   372.5156,   18.9531, 0.1); // Montgomery, Paper Cuts
RemoveBuildingForPlayer(playerid,  955,  1520.1484,  1055.2656,   10.0000, 0.1); // LV, LVA Freight Depot
RemoveBuildingForPlayer(playerid,  955,  1729.7891, -1943.0469,   12.9453, 0.1); // LS, Uniti Station
RemoveBuildingForPlayer(playerid,  955,  1789.2109, -1369.2656,   15.1641, 0.1); // LS, Downtown
RemoveBuildingForPlayer(playerid,  955,  1928.7344, -1772.4453,   12.9453, 0.1); // LS, Idlewood
RemoveBuildingForPlayer(playerid,  955,  2060.1172, -1897.6406,   12.9297, 0.1); // LS, Willowfield
RemoveBuildingForPlayer(playerid,  955,  2085.7734,  2071.3594,   10.4531, 0.1); // LV, Sexshop
RemoveBuildingForPlayer(playerid, 1775,  2155.9063,  1606.7734, 1000.0547, 0.1); // Int 1, LV, Caligula Hall
RemoveBuildingForPlayer(playerid, 1775,  2209.9063,  1607.1953, 1000.0547, 0.1); // Int 1, LV, Caligula Stolovaja
RemoveBuildingForPlayer(playerid, 1775,  2222.2031,  1606.7734, 1000.0547, 0.1); // Int 1, LV, Caligula Garage
RemoveBuildingForPlayer(playerid, 1775,  2225.2031, -1153.4219, 1025.9063, 0.1); // Int 15, LS, Jefferson Hotel
RemoveBuildingForPlayer(playerid,  955,  2319.9922,  2532.8516,   10.2188, 0.1); // LV, Julius Threway North, Pizza
RemoveBuildingForPlayer(playerid,  955,  2325.9766, -1645.1328,   14.2109, 0.1); // LS, East, Green Bar
RemoveBuildingForPlayer(playerid,  955,  2352.1797, -1357.1563,   23.7734, 0.1); // LS, East, Liquor
RemoveBuildingForPlayer(playerid,  955,  2503.1406,  1243.6953,   10.2188, 0.1); // LV, The Camel's Toe
RemoveBuildingForPlayer(playerid, 1775,  2576.7031, -1284.4297, 1061.0938, 0.1); // Int 2, LS, Crackpalace
RemoveBuildingForPlayer(playerid, 1775,   -19.0391,   -57.8359, 1003.6328, 0.1); // Int #, 24/7
RemoveBuildingForPlayer(playerid, 1775,   -16.1172,   -91.6406, 1003.6328, 0.1); // Int #, 24/7
RemoveBuildingForPlayer(playerid, 1775,   -32.4453,  -186.6953, 1003.6328, 0.1); // Int #, 24/7
RemoveBuildingForPlayer(playerid, 1775,   -35.7266,  -140.2266, 1003.6328, 0.1); // Int #, 24/7
RemoveBuildingForPlayer(playerid, 1775,   -15.1016,  -140.2266, 1003.6328, 0.1); // Int #, 24/7
Автор: OKStyle

На данный момент - это САМЫЙ полный список автоматов с едой, к тому же публикуется ТОЛЬКО на этом ресурсе.
Из интерьеров тоже удалим, т.к. телепортом всё-равно можно попасть в интерьер, если у Вас они закрыты.

P.S. Должно прокатить и с радиусом 6000, будет меньше строчек, только по моделям, но так не интересно... Я делал для своего ФС - там необходимо знать координаты КАЖДОГО автомата. И в Junkbuster'е нет столько много координат.
 
Сверху Снизу