[CM]Doc
Дата: Пятница, 27.09.2013, 22:21 | Сообщение # 1
Боец
Сообщений: 141
Статус: Offline
Всем снова привет.Нашёл неплохую карту(Map) под названием Night Club. Думаю будет полезно,как и для повышения реалистичности,так и сделать из этого заведения бизнес. Описание: - Очень красивый и качественный ночной клуб. - Никаких лишних объектов. - Присутствует танцпол , барная стойка , столики и дискотечный шар. - В клубе присутствует 2 этажа. - На 2 этаже расположены уютные кресла. - Клуб подходит для любых видов мероприятий. Код обьектов:
Код
Код обьектов: CreateDynamicObject(19144, 292.89001, 358.75000, 997.70001, 0.00000, 0.00000, 50.00000); CreateDynamicObject(19144, 292.98999, 362.48999, 997.79999, 0.00000, 0.00000, 140.00000); CreateDynamicObject(19151, 292.91000, 367.45001, 997.60999, 0.00000, 0.00000, 150.00000); CreateDynamicObject(19151, 286.23001, 367.45999, 997.62000, 0.00000, 0.00000, 220.00000); CreateDynamicObject(19419, 291.09000, 360.38000, 995.20001, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19423, 291.92999, 361.41000, 996.38000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19319, 293.17001, 360.42001, 997.15997, 0.00000, 52.00000, 270.00000); CreateDynamicObject(19060, 289.31000, 366.67999, 998.19000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19175, 275.17999, 351.00000, 1001.84003, 0.00000, 0.00000, 90.00000); CreateDynamicObject(19128, 287.84000, 360.45999, 995.19000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19128, 291.81000, 360.47000, 995.15997, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19128, 287.84000, 364.45001, 995.19000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19128, 291.82001, 364.47000, 995.19000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(19159, 290.92999, 360.32001, 998.26001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3919, 284.19922, 354.08887, 999.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(3942, 284.28516, 356.94043, 999.16345, 0.00000, 0.00000, 0.00000); CreateDynamicObject(5020, 278.19922, 350.89941, 1003.29999, 0.00000, 90.00000, 0.00000); CreateDynamicObject(3944, 284.15918, 363.29980, 1004.09998, 270.24719, 179.99451, 179.99451); CreateDynamicObject(3944, 284.15918, 363.29980, 1002.40002, 270.74707, 179.99451, 179.99451); CreateDynamicObject(3944, 284.15918, 366.61133, 999.07800, 359.48914, 0.00000, 179.99451); CreateDynamicObject(3943, 285.82813, 354.62891, 995.31982, 0.00000, 0.00000, 0.00000); CreateDynamicObject(18077, 285.39999, 360.29999, 995.79999, 0.00000, 0.00000, 270.00000); CreateDynamicObject(14770, 282.61230, 349.76855, 1000.08368, 0.00000, 0.00000, 359.74731); CreateDynamicObject(3944, 269.40686, 349.47964, 998.87378, 359.75317, 0.00000, 180.00000); CreateDynamicObject(3944, 269.40625, 349.47949, 1002.32495, 359.75281, 0.00000, 179.99451); CreateDynamicObject(2948, 275.73242, 348.61328, 999.64783, 0.00000, 0.00000, 90.00000); CreateDynamicObject(2948, 277.63300, 348.60492, 999.64783, 0.00000, 0.00000, 269.75000); CreateDynamicObject(3944, 268.50000, 348.79999, 1002.29999, 359.74731, 0.00000, 243.98987); CreateDynamicObject(1726, 292.25586, 352.32422, 999.64844, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1726, 292.25647, 354.66879, 999.64844, 0.00000, 0.00000, 270.00000); CreateDynamicObject(14809, 288.79999, 369.39999, 996.40002, 0.00000, 1.99951, 80.73303); CreateDynamicObject(14809, 295.62793, 357.25195, 996.56110, 0.00000, 0.00000, 89.99451); CreateDynamicObject(14820, 291.33038, 360.41837, 996.47021, 0.00000, 0.00000, 270.50000); CreateDynamicObject(2207, 291.14648, 361.35254, 995.58453, 0.00000, 0.00000, 269.74182); CreateDynamicObject(3945, 285.91669, 357.69989, 1001.53931, 0.00000, 0.00000, 89.50000); CreateDynamicObject(5020, 293.36255, 361.27374, 1003.29999, 0.00000, 90.00000, 0.00000); CreateDynamicObject(5020, 293.95270, 356.66794, 1003.29999, 0.00000, 90.00000, 0.00000); CreateDynamicObject(5020, 277.93155, 362.58615, 994.95062, 0.00000, 90.00000, 0.00000); CreateDynamicObject(14463, 297.29999, 345.20001, 1002.29999, 0.00000, 179.75006, 320.49725); CreateDynamicObject(3944, 284.29999, 368.39999, 999.09998, 359.48914, 0.00000, 179.99451); CreateDynamicObject(14463, 297.29999, 347.60001, 1002.29999, 0.00000, 179.74731, 320.49316); CreateDynamicObject(14809, 295.60001, 359.00000, 999.90002, 0.00000, 0.75003, 271.48853); CreateDynamicObject(2125, 279.00000, 367.10001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 279.00000, 366.50000, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1823, 279.89999, 366.29999, 995.20001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 281.79999, 367.10001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 281.79980, 366.50000, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 285.29980, 367.09961, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 285.29980, 366.50000, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1823, 283.50000, 366.29999, 995.20001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 282.60001, 367.10001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 282.59961, 366.50000, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1823, 283.50000, 364.50000, 995.20001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 285.29980, 365.29999, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 285.29980, 364.70001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 282.59961, 365.29999, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 281.79980, 365.29999, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 279.00000, 365.29980, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 282.59961, 364.69922, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 281.79980, 364.70001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 279.00000, 364.70001, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1823, 279.89941, 364.50000, 995.20001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 279.20001, 362.29999, 995.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2125, 279.70001, 362.29999, 995.50000, 0.00000, 0.00000, 343.00000); CreateDynamicObject(1823, 278.89999, 361.50000, 995.20001, 0.00000, 0.00000, 268.50000); CreateDynamicObject(2125, 279.20001, 359.60001, 995.50000, 0.00000, 0.00000, 20.25000); CreateDynamicObject(2125, 279.70001, 359.59961, 995.50000, 0.00000, 0.00000, 346.50000); CreateDynamicObject(2125, 279.19922, 359.00000, 995.50000, 0.00000, 0.00000, 330.75000); CreateDynamicObject(2125, 279.69922, 359.00000, 995.50000, 0.00000, 0.00000, 20.25000); CreateDynamicObject(1823, 278.89999, 358.10001, 995.20001, 0.00000, 0.00000, 268.49487); CreateDynamicObject(2125, 279.19922, 356.20001, 995.50000, 0.00000, 0.00000, 330.74890); CreateDynamicObject(2125, 279.69922, 356.20001, 995.50000, 0.00000, 0.00000, 20.24780); CreateDynamicObject(14565, 289.50000, 352.50000, 997.29999, 0.00000, 0.00000, 270.00000); CreateDynamicObject(2725, 281.79999, 362.29999, 995.59998, 0.00000, 0.00000, 349.99146); CreateDynamicObject(2725, 285.00000, 362.70001, 995.59998, 0.00000, 0.00000, 349.99146); CreateDynamicObject(2725, 285.50000, 359.60001, 995.59998, 0.00000, 0.00000, 349.99146); CreateDynamicObject(2725, 283.79999, 360.50000, 995.59998, 0.00000, 0.00000, 349.99146); CreateDynamicObject(2725, 281.79999, 359.60001, 995.59998, 0.00000, 0.00000, 349.99146); CreateDynamicObject(1667, 291.70001, 361.60001, 996.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1548, 285.29999, 356.50000, 996.40002, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1455, 285.10001, 362.70001, 996.09998, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1667, 283.79999, 360.29999, 996.12000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1667, 283.60001, 360.50000, 996.12000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1667, 284.39999, 367.00000, 995.79999, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1546, 285.29999, 359.60001, 996.09998, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1546, 280.10001, 364.89999, 995.79999, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1544, 287.10001, 356.60001, 996.40002, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1543, 288.70001, 356.70001, 996.40002, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1520, 284.89999, 356.10001, 996.40002, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1555, 283.70001, 346.89999, 999.59998, 0.00000, 0.00000, 273.25000); CreateDynamicObject(1498, 279.69922, 347.53952, 995.20001, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1535, 278.85999, 350.39999, 995.20001, 0.00000, 0.00000, 270.75000); CreateDynamicObject(3944, 294.20001, 353.79999, 994.59998, 270.74707, 179.99451, 179.99451); CreateDynamicObject(3944, 294.20001, 353.79999, 995.90002, 270.25024, 180.00000, 180.00000); CreateDynamicObject(5020, 282.50000, 352.50000, 996.09998, 88.73099, 323.76898, 309.70010); CreateDynamicObject(5020, 278.70001, 352.00000, 996.09998, 88.72559, 323.76712, 38.19611); CreateDynamicObject(1664, 283.60001, 356.89999, 996.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1668, 282.79999, 356.39999, 996.50000, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1667, 279.29999, 360.60001, 995.79999, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1667, 279.20001, 361.20001, 995.79999, 0.00000, 0.00000, 0.00000); CreateDynamicObject(2780, 293.89999, 361.10001, 998.79999, 0.00000, 0.00000, 292.00000); CreateDynamicObject(1726, 292.25586, 349.97000, 999.64844, 0.00000, 0.00000, 270.00000); CreateDynamicObject(1670, 281.89999, 354.39999, 1000.40002, 0.00000, 0.00000, 0.00000); CreateDynamicObject(1670, 279.39999, 357.60001, 995.70001, 0.00000, 0.00000, 92.25000); CreateDynamicObject(2257, 288.67001, 344.20013, 1001.59998, 0.00000, 0.00000, 180.00000);
Команда телепорта: Добавляем в public OnPlayerCommandText(playerid, cmdtext[])
Код
if(strcmp(cmdtext, "/club", true) == 0) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)SetVehiclePos(GetPlayerVehicleID(playerid), 276.5224,350.2693,1000.6478); else SetPlayerPos(playerid, 276.5224,350.2693,1000.6478); return 1; }
Автор: Cebo
Сообщение отредактировал [CM]Doc - Пятница, 27.09.2013, 22:38