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

Спойлер

mQ8OZQ1-BUE.jpgpHPetv6RelI.jpgAH_eZ_Heo1E.jpgtMF3ykPGCaQ.jpgfjXbKE6A9oo.jpgvqgrn4hMl04.jpg

Спойлер

CreateDynamicObject(19358, 396.99, 2118.11, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 396.99, 2114.93, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 396.99, 2111.74, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 396.99, 2108.55, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19377, 391.83, 2105.27, -4.95, 0.00, 90.00, 0.00);
CreateDynamicObject(19377, 391.85, 2114.91, -4.95, 0.00, 90.00, 0.00);
CreateDynamicObject(1569, 396.94, 2114.61, -8.07, -0.02, 0.00, 89.73);
CreateDynamicObject(19358, 395.33, 2118.61, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 392.16, 2118.61, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 388.97, 2118.60, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 396.99, 2105.34, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 395.68, 2103.79, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 392.51, 2103.79, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 389.33, 2103.78, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19358, 389.84, 2117.47, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 389.84, 2114.30, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 389.84, 2111.16, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 389.84, 2107.95, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 389.83, 2104.79, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 396.04, 2117.64, -6.59, 0.00, 0.00, 37.04);
CreateDynamicObject(19358, 395.34, 2114.30, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19388, 393.82, 2112.71, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 393.82, 2109.58, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19358, 395.34, 2108.05, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(1744, 391.44, 2118.22, -6.80, 0.00, 0.00, 89.81);
CreateDynamicObject(1743, 392.34, 2118.14, -6.91, 0.00, 0.00, 91.77);
CreateDynamicObject(1739, 393.73, 2110.90, -6.40, 0.00, 0.00, 0.51);
CreateDynamicObject(1738, 391.27, 2117.61, -7.13, 0.00, 0.00, 97.97);
CreateDynamicObject(1748, 391.86, 2117.59, -7.13, 0.00, 0.00, 88.88);
CreateDynamicObject(1747, 390.86, 2118.33, -7.00, 0.00, 0.00, 90.69);
CreateDynamicObject(1747, 391.97, 2118.36, -7.00, 0.00, 0.00, 90.69);
CreateDynamicObject(1745, 390.44, 2118.05, -7.00, 0.00, 0.00, 97.97);
CreateDynamicObject(1416, 396.61, 2107.28, -7.56, 0.00, 0.00, 269.29);
CreateDynamicObject(1416, 396.59, 2105.86, -7.56, 0.00, 0.00, 269.29);
CreateDynamicObject(1416, 396.59, 2104.44, -7.56, 0.00, 0.00, 269.29);
CreateDynamicObject(1417, 396.83, 2107.46, -6.12, 0.00, 0.00, 269.29);
CreateDynamicObject(1417, 396.81, 2104.46, -6.12, 0.00, 0.00, 269.29);
CreateDynamicObject(1429, 393.38, 2109.49, -6.94, 0.00, 0.00, 270.78);
CreateDynamicObject(1416, 393.35, 2108.81, -7.75, 0.00, 0.00, 269.76);
CreateDynamicObject(1416, 393.36, 2110.19, -7.75, 0.00, 0.00, 269.76);
CreateDynamicObject(1671, 391.40, 2117.18, -7.64, 0.00, 0.00, 180.78);
CreateDynamicObject(19353, 395.34, 2108.07, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19353, 393.99, 2109.58, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19383, 393.99, 2112.71, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19353, 395.35, 2114.22, -6.59, 0.00, 0.00, 90.06);
CreateDynamicObject(19353, 396.84, 2112.78, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(19353, 396.84, 2109.58, -6.59, 0.00, 0.00, 0.00);
CreateDynamicObject(1516, 392.45, 2104.45, -7.75, 0.00, 0.00, 90.09);
CreateDynamicObject(1208, 396.60, 2107.28, -8.02, 0.00, 0.00, 89.63);
CreateDynamicObject(19174, 389.91, 2115.54, -6.18, 0.00, 0.00, 90.06);
CreateDynamicObject(1798, 396.77, 2107.41, -8.90, 0.00, 0.00, 180.26);
CreateDynamicObject(1798, 394.97, 2107.95, -8.07, 0.09, -90.00, 180.26);
CreateDynamicObject(1798, 394.01, 2108.10, -8.90, 0.00, 0.00, 180.46);
CreateDynamicObject(1798, 395.17, 2109.40, -9.12, -90.00, 0.00, 270.44);
CreateDynamicObject(1798, 395.10, 2108.11, -9.12, -90.00, 0.00, 270.13);
CreateDynamicObject(10267, 392.42, 2104.92, -7.63, 0.00, 0.00, 88.96);
CreateDynamicObject(1746, 390.36, 2109.44, -7.68, 0.00, 0.00, 179.51);
CreateDynamicObject(10267, 392.06, 2104.41, -7.63, 0.00, 0.00, 179.14);
CreateDynamicObject(10267, 392.82, 2104.41, -7.63, 0.00, 0.00, 359.79);
CreateDynamicObject(3185, 396.46, 2108.85, -6.72, 0.00, 0.00, 265.21);
CreateDynamicObject(10166, 390.12, 2114.95, -7.60, 0.00, 0.00, 0.00);
CreateDynamicObject(10166, 390.11, 2106.09, -7.60, 0.00, 0.00, 0.00);
CreateDynamicObject(10161, 391.55, 2111.24, -5.26, 0.00, 0.00, 89.28);
CreateDynamicObject(10178, 393.77, 2118.04, -6.84, 0.00, 0.00, 270.12);
CreateDynamicObject(10182, 391.78, 2109.37, -8.24, 0.00, 0.00, 270.12);
CreateDynamicObject(10197, 395.30, 2117.08, -8.04, 0.00, 0.00, 270.12);
CreateDynamicObject(10206, 396.76, 2105.74, -7.97, 0.00, 0.00, 269.36);
CreateDynamicObject(10256, 396.59, 2104.48, -6.85, 0.00, 0.00, 269.87);
CreateDynamicObject(10256, 396.47, 2113.28, -6.85, 0.00, 0.00, 269.87);
CreateDynamicObject(10271, 396.33, 2111.97, -7.47, 0.00, 0.00, 269.87);
CreateDynamicObject(19317, 393.73, 2113.89, -6.23, 0.00, 0.00, 269.87);
CreateDynamicObject(19003, 392.99, 2113.80, -8.06, 180.00, 0.00, 269.87);
CreateDynamicObject(1600, 394.33, 2103.90, -5.99, 0.00, 0.00, 90.09);
CreateDynamicObject(1416, 394.92, 2103.31, -6.04, 90.00, 0.00, 179.33);
CreateDynamicObject(1416, 393.86, 2103.32, -6.04, 90.00, 0.00, 179.33);
CreateDynamicObject(1640, 394.11, 2109.99, -8.06, 0.00, 0.00, 89.67);
CreateDynamicObject(1640, 396.06, 2109.98, -8.06, 0.00, 0.00, 89.67);
CreateDynamicObject(1640, 394.11, 2109.99, -8.04, 0.00, 0.00, 89.67);
CreateDynamicObject(1640, 396.06, 2109.98, -8.04, 0.00, 0.00, 89.67);
CreateDynamicObject(1642, 396.72, 2111.88, -8.04, 0.00, 0.00, 89.67);
CreateDynamicObject(741, 393.36, 2113.14, -7.85, 0.00, 0.00, 0.05);
CreateDynamicObject(861, 393.35, 2111.52, -8.05, 0.00, 0.00, 0.56);
CreateDynamicObject(1567, 393.90, 2113.41, -8.35, -0.02, 0.00, 20.17);
CreateDynamicObject(18783, 391.20, 2112.48, -2.32, 180.00, 0.00, 0.05);
CreateDynamicObject(18783, 391.55, 2112.60, -10.79, 0.00, 0.00, 0.05);
CreateDynamicObject(18783, 387.28, 2112.50, -6.68, 90.00, 0.00, 90.12);
CreateDynamicObject(18783, 399.47, 2112.81, -6.68, 90.00, 0.00, 269.91);
CreateDynamicObject(10223, 395.53, 2118.02, -6.51, 0.00, 0.00, 307.26);
CreateDynamicObject(18783, 392.12, 2101.05, -6.68, 90.00, 0.00, 180.00);
CreateDynamicObject(18783, 392.04, 2121.26, -6.68, 90.00, 0.00, 360.00);
CreateDynamicObject(1619, 396.97, 2105.64, -5.44, 0.00, 0.00, 0.00);
CreateDynamicObject(1582, 392.43, 2104.41, -7.23, 0.00, 0.00, 0.00);
CreateDynamicObject(1461, 396.69, 2110.74, -6.22, 0.00, 0.00, 271.79);
CreateDynamicObject(3172, 391.34, 2117.93, -7.65, 0.00, 0.00, 359.78);
CreateDynamicObject(0, 395.48, 2117.79, -9.40, 0.00, 0.00, 285.55);
CreateDynamicObject(1670, 393.30, 2108.65, -7.15, 0.00, 0.00, 269.97);
CreateDynamicObject(1567, 389.97, 2111.71, -8.19, -0.02, 0.00, 90.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; }  
       
      Что мне делать, подскажите пожалуйста?