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

Автор: MAXIMBAHTIN

Спойлер

CreateDynamicObject(19071, -374.96, 1703.87, 721.59,   0.00, 180.00, 0.00);
CreateDynamicObject(19364, -381.71, 1732.16, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -378.32, 1732.16, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -383.02, 1729.78, 724.19,   0.00, 0.00, -59.16);
CreateDynamicObject(19364, -384.44, 1727.28, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -384.44, 1724.07, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -383.03, 1721.57, 724.19,   0.00, 0.00, 59.16);
CreateDynamicObject(3034, -384.34, 1725.78, 724.38,   0.00, 0.00, 90.00);
CreateDynamicObject(10195, -382.81, 1723.32, 722.59,   0.00, 0.00, 96.54);
CreateDynamicObject(10195, -382.27, 1727.27, 722.59,   0.00, 0.00, 152.76);
CreateDynamicObject(10121, -383.91, 1725.85, 723.05,   0.00, 0.00, -90.00);
CreateDynamicObject(1416, -384.01, 1728.17, 723.07,   0.00, 0.00, 90.00);
CreateDynamicObject(3017, -383.90, 1728.21, 723.66,   0.00, 0.00, 89.46);
CreateDynamicObject(1668, -384.29, 1728.03, 723.79,   0.00, 0.00, 0.00);
CreateDynamicObject(1492, -378.32, 1730.59, 722.57,   0.00, 0.00, -90.00);
CreateDynamicObject(19364, -378.32, 1727.47, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -376.63, 1726.59, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(1416, -377.45, 1727.42, 723.07,   0.00, 0.00, 137.64);
CreateDynamicObject(1429, -377.46, 1727.44, 723.88,   0.00, 0.00, 127.62);
CreateDynamicObject(1668, -376.95, 1727.18, 723.80,   0.00, 0.00, 0.00);
CreateDynamicObject(1668, -377.72, 1727.92, 723.80,   0.00, 0.00, 37.74);
CreateDynamicObject(19364, -376.62, 1732.86, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(3128, -382.77, 1721.25, 724.33,   0.00, 0.00, 0.00);
CreateDynamicObject(2969, -384.12, 1722.80, 722.68,   0.00, 0.00, 90.00);
CreateDynamicObject(2969, -384.12, 1723.54, 722.68,   0.00, 0.00, 90.00);
CreateDynamicObject(2969, -384.12, 1723.16, 722.91,   0.00, 0.00, 90.00);
CreateDynamicObject(2969, -383.89, 1723.95, 722.75,   30.00, 0.00, 128.16);
CreateDynamicObject(10182, -372.94, 1729.75, 723.00,   0.00, 0.00, 90.00);
CreateDynamicObject(10121, -375.61, 1732.29, 723.05,   0.00, 0.00, 180.00);
CreateDynamicObject(19364, -373.41, 1732.86, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(1671, -377.76, 1732.27, 723.00,   0.00, 0.00, 38.40);
CreateDynamicObject(19364, -373.42, 1726.59, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -370.21, 1726.59, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -370.20, 1732.86, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -370.77, 1731.53, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(1671, -371.44, 1729.75, 723.00,   0.00, 0.00, -97.32);
CreateDynamicObject(19364, -370.77, 1728.32, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -370.77, 1725.11, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(8087, -370.79, 1733.32, 723.78,   0.00, 0.00, 90.00);
CreateDynamicObject(1416, -371.14, 1732.09, 723.07,   0.00, 0.00, -89.88);
CreateDynamicObject(1668, -371.18, 1731.45, 723.80,   0.00, 0.00, 37.74);
CreateDynamicObject(1668, -371.22, 1731.95, 723.80,   0.00, 0.00, 49.74);
CreateDynamicObject(1668, -371.11, 1732.40, 723.80,   0.00, 0.00, 42.30);
CreateDynamicObject(1668, -371.34, 1731.67, 723.80,   0.00, 0.00, 52.44);
CreateDynamicObject(10106, -371.44, 1727.26, 723.74,   0.00, 0.00, 0.00);
CreateDynamicObject(10170, -374.11, 1726.69, 723.21,   0.00, 0.00, 0.00);
CreateDynamicObject(3017, -375.72, 1726.82, 723.30,   0.00, 0.00, 179.88);
CreateDynamicObject(3119, -373.67, 1726.70, 723.58,   0.00, 0.00, -139.14);
CreateDynamicObject(1579, -372.89, 1729.13, 723.56,   0.00, 90.00, 0.00);
CreateDynamicObject(1579, -372.72, 1728.88, 723.56,   0.00, 90.00, 0.00);
CreateDynamicObject(1579, -373.14, 1729.00, 723.56,   0.00, 90.00, 0.00);
CreateDynamicObject(3034, -375.61, 1732.75, 724.58,   0.00, 0.00, 0.00);
CreateDynamicObject(19173, -381.61, 1732.12, 724.64,   0.00, 0.00, 90.00);
CreateDynamicObject(1569, -380.82, 1733.72, 722.55,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -380.11, 1720.80, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -376.81, 1725.78, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(1492, -378.32, 1725.72, 722.57,   0.00, 0.00, -90.00);
CreateDynamicObject(19364, -378.34, 1722.61, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -376.64, 1721.40, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -375.27, 1724.10, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -375.27, 1720.89, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(10271, -377.64, 1721.93, 723.08,   0.00, 0.00, -179.82);
CreateDynamicObject(10271, -376.05, 1721.95, 723.08,   0.00, 0.00, -179.82);
CreateDynamicObject(10256, -375.85, 1725.47, 723.78,   0.00, 0.00, 0.00);
CreateDynamicObject(1416, -375.68, 1725.52, 723.07,   0.00, 0.00, 0.00);
CreateDynamicObject(10195, -376.66, 1722.62, 722.59,   0.00, 0.00, 96.54);
CreateDynamicObject(19364, -378.34, 1719.40, 724.19,   0.00, 0.00, 0.00);
CreateDynamicObject(19364, -376.90, 1720.80, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(10170, -380.44, 1720.76, 724.05,   0.00, 0.00, 0.00);
CreateDynamicObject(1668, -381.23, 1721.03, 723.56,   0.00, 0.00, 66.18);
CreateDynamicObject(1668, -380.33, 1720.98, 723.56,   0.00, 0.00, 134.94);
CreateDynamicObject(1668, -379.53, 1721.01, 723.56,   0.00, 0.00, 185.28);
CreateDynamicObject(1668, -378.61, 1721.00, 723.56,   0.00, 0.00, 185.28);
CreateDynamicObject(1210, -378.71, 1721.15, 722.71,   0.00, 0.00, 89.76);
CreateDynamicObject(1210, -378.90, 1721.15, 722.71,   0.00, 0.00, 89.76);
CreateDynamicObject(2891, -384.13, 1724.51, 722.52,   0.00, 0.00, 90.78);
CreateDynamicObject(1783, -381.22, 1733.21, 722.78,   0.00, 0.00, -68.52);
CreateDynamicObject(2913, -382.19, 1730.05, 722.69,   90.00, 0.00, -58.32);
CreateDynamicObject(1222, -378.80, 1727.57, 722.94,   90.00, 0.00, 0.00);
CreateDynamicObject(1222, -378.80, 1726.43, 722.93,   0.00, 0.00, 0.00);
CreateDynamicObject(3085, -378.36, 1727.46, 722.62,   0.00, 0.00, 90.00);
CreateDynamicObject(1264, -378.79, 1728.66, 722.82,   0.00, 0.00, 0.00);
CreateDynamicObject(1264, -378.90, 1733.32, 722.82,   0.00, 0.00, 90.36);
CreateDynamicObject(19466, -378.33, 1724.86, 726.09,   0.00, 0.00, 0.00);
CreateDynamicObject(19466, -378.35, 1729.71, 726.09,   0.00, 0.00, 0.00);
CreateDynamicObject(1222, -377.02, 1721.75, 724.75,   0.00, 90.00, 0.00);
CreateDynamicObject(19364, -380.01, 1733.81, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(19364, -383.22, 1733.81, 724.19,   0.00, 0.00, 90.00);
CreateDynamicObject(18664, -383.20, 1721.79, 724.18,   0.00, 0.00, 239.46);
CreateDynamicObject(1520, -378.56, 1723.68, 722.62,   0.00, 0.00, 39.42);
CreateDynamicObject(1520, -378.53, 1723.41, 722.63,   0.00, 90.00, 115.32);
CreateDynamicObject(1520, -378.72, 1723.33, 722.62,   0.00, 0.00, 39.42);
CreateDynamicObject(1520, -378.93, 1723.50, 722.62,   0.00, 0.00, 104.46);
CreateDynamicObject(1520, -378.94, 1723.35, 722.63,   0.00, 90.00, 238.74);
CreateDynamicObject(19071, -378.32, 1724.06, 726.85,   0.00, 0.00, 0.00);

 

Спойлер

K_8WohDF40Q.jpgLd1xCVJLHjc.jpgdT1RQLI2Os0.jpgQN8l8DLgqHk.jpgTKUnEfqslGo.jpgfyhlZihDsq8.jpg

 

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


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

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

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

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

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


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

Войти

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


Войти

  • Последние посетители   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; }  
       
      Что мне делать, подскажите пожалуйста?