RASTAMAN

инт.Автошколы

В теме 1 сообщение

Автор: Паша Устинович

Спойлер

XhZAME8pTO8.thumb.jpg.52016d77ccf5026e7713dd4f804ff3a2.jpgwIb9grn1tBg.thumb.jpg.baee4b19ba637c215a05475b6a1d4540.jpgk8cvTkZ9dso.thumb.jpg.bd9269fc073984a01172bb1b617d1ed1.jpg0cZJXH3sLLs.thumb.jpg.387c152203f46ffd0ca0072f1ea7ed29.jpg

Спойлер


//Objects////////////////////////////////////////////////////////////////////////////////////////////////////////
new tmpobjid;
tmpobjid = CreateDynamicObject(18981, -37.319999, 1088.280029, 10009.320312, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "oboi3", 0x00000000);
tmpobjid = CreateDynamicObject(18981, -37.319999, 1088.280029, 10005.070312, 0.000000, 90.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 10055, "SCUMMY", "ws_stationfloor", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -25.370000, 1091.510009, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -25.270000, 1087.329956, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -30.739999, 1087.420043, 10005.559570, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -31.659999, 1087.420043, 10005.559570, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10260, -32.590000, 1087.410034, 10005.559570, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -32.720001, 1086.319946, 10005.559570, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -32.720001, 1085.400024, 10005.559570, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -32.689998, 1079.930053, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -32.689998, 1081.890014, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -27.590000, 1082.810058, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -30.850000, 1096.569946, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(2028, -27.360000, 1095.729980, 10005.959960, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(19174, -27.409999, 1096.069946, 10007.530273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2321, "8bitmusicclub", "8bit_winclose", 0x00000000);
tmpobjid = CreateDynamicObject(10102, -28.479999, 1085.599975, 10007.179687, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_doki2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 5, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 6, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(10102, -31.219999, 1082.719970, 10007.160156, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_doki2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 5, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 6, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -29.799999, 1083.459960, 10006.009765, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(10189, -29.430000, 1086.829956, 10007.469726, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2203, "mentovka_int3rd", "pasxalka_manhunt", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -37.150001, 1086.209960, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(1499, -36.970001, 1091.209960, 10005.559570, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD_DARK", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 2203, "mentovka_int3rd", "ment_tmb_bok", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -33.689998, 1082.790039, 10006.179687, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -34.529998, 1082.790039, 10006.179687, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -35.369998, 1082.810058, 10006.179687, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(19172, -34.619998, 1082.390014, 10007.870117, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2411, "rail_pack1", "vehicleenvmap128", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -37.150001, 1097.709960, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -40.849998, 1096.569946, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(19466, -36.979999, 1092.020019, 10009.030273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2297, "TVtower", "OSTower_cyanglass", 0x00000000);
tmpobjid = CreateDynamicObject(2028, -27.600000, 1088.239990, 10005.940429, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(10194, -40.319999, 1094.479980, 10005.919921, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 3, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -39.439998, 1094.530029, 10006.070312, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(10194, -42.919998, 1094.479980, 10005.919921, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 3, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -42.099998, 1094.530029, 10006.070312, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(19172, -36.650001, 1088.020019, 10007.709960, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1926, "city_autos", "auto_bilb2", 0x00000000);
tmpobjid = CreateDynamicObject(10194, -40.319999, 1089.479980, 10005.919921, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 3, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -39.479999, 1089.500000, 10006.070312, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(10194, -42.919998, 1089.479980, 10005.919921, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 3, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -42.119998, 1089.459960, 10006.070312, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -42.369998, 1087.050048, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(3174, -45.840000, 1089.260009, 10006.200195, 0.000000, 0.000000, 130.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(3077, -46.459999, 1094.109985, 10005.570312, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -47.630001, 1092.550048, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(18766, -50.849998, 1096.569946, 10006.339843, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 1907, "mahhousepack", "poolsidewall02_256", 0x00000000);
tmpobjid = CreateDynamicObject(2028, -35.330001, 1095.670043, 10005.959960, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2081, "cj_office", "CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -30.739999, 1087.420043, 10008.820312, 0.000000, 180.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -31.659999, 1087.420043, 10008.820312, 0.000000, 180.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10260, -32.750000, 1087.270019, 10008.820312, 0.000000, 180.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -32.720001, 1086.339965, 10008.820312, 0.000000, 180.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(10259, -32.720001, 1085.420043, 10008.820312, 0.000000, 180.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 2081, "cj_office", "CJ_WOOD1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 2203, "mentovka_int3rd", "ment_table", 0x00000000);
tmpobjid = CreateDynamicObject(1582, -31.030000, 1092.339965, 10008.780273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2601, "sch1195_tex", "1195_clearwall", 0x00000000);
tmpobjid = CreateDynamicObject(1582, -33.970001, 1089.479980, 10008.780273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2601, "sch1195_tex", "1195_clearwall", 0x00000000);
tmpobjid = CreateDynamicObject(1582, -40.169998, 1091.630004, 10008.780273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2601, "sch1195_tex", "1195_clearwall", 0x00000000);
tmpobjid = CreateDynamicObject(1582, -42.689998, 1091.579956, 10008.780273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2601, "sch1195_tex", "1195_clearwall", 0x00000000);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
tmpobjid = CreateDynamicObject(1569, -25.809999, 1090.949951, 10005.559570, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(1569, -25.829999, 1093.949951, 10005.559570, 0.000000, 0.000000, 270.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(1744, -31.399999, 1087.550048, 10006.870117, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(1744, -32.830001, 1085.400024, 10006.889648, 0.000000, 0.000000, 180.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(10182, -28.600000, 1083.459960, 10005.959960, 0.000000, 0.000000, -90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(2894, -40.110000, 1094.459960, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(2894, -42.700000, 1094.469970, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(2894, -40.099998, 1089.489990, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(2894, -42.680000, 1089.459960, 10006.339843, 0.000000, 0.000000, 90.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(10182, -45.299999, 1089.910034, 10006.059570, 0.000000, 0.000000, -50.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(741, -33.580001, 1097.310058, 10005.780273, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
tmpobjid = CreateDynamicObject(679, -33.580001, 1095.689941, 10005.750000, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);

 

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!


Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.


Войти

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

  • Похожий контент

    • Chopick
      От 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; }  
       
      Что мне делать, подскажите пожалуйста?
    • Jdjdjd
      От Jdjdjd
      Как сделать открытие закрытие ворот в Радмир рп на копии,и куд а нужно вставлять код?