Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.

Реклама


**Как получить V.I.P** (Перейти)
Чтобы заказать рекламу на Pro-Pawn.Ru, обращайтесь в Skype.
Баннерная реклама 200руб/мес, Текстовая 100руб/мес.
Показано с 1 по 10 из 10
  1. #1
    Аватар для Gena_Litvinov
    Пользователь

    Статус
    Оффлайн
    Регистрация
    27.09.2014
    Адрес
    CCCР
    Сообщений
    21
    Репутация:
    0 ±

    [Фермер] Фруктовый сад

    Вот нашёл простенькую работу фермера, ваша задача собирать яблоки с деревьев.

    Приступим:

    ко всем forward:
    PHP код:
    forward SAAAD(playerid); 
    Ко всем new:
    PHP код:
    new fermers[2];
    new 
    Fermer;
    new 
    Text:SAD[3];
    new 
    Text:SADD[MAX_PLAYERS];
    new 
    Text:SADD1[MAX_PLAYERS];
    new 
    StartFarm[MAX_PLAYERS];
    new 
    AmmountWood[MAX_PLAYERS];
    new 
    Float:derevo[][20] = {
    {-
    17.3729992,-35.3050003,2.0669999},
    {-
    19.7919998,-42.8380013,2.0669999},
    {-
    9.7679996,-37.7890015,2.0170000},
    {-
    12.1829996,-44.9199982,2.0669999},
    {-
    15.1330004,-53.9500008,2.0669999},
    {-
    17.3299999,-60.7529984,2.0669999},
    {-
    25.4090004,-58.1129990,2.0669999},
    {-
    23.0009995,-50.7459984,2.0669999},
    {-
    27.8150005,-65.4789963,2.0669999},
    {-
    29.8640003,-71.7519989,2.0669999},
    {-
    21.6259995,-74.3119965,2.0669999},
    {-
    19.4519997,-67.6579971,2.0669999},
    {-
    10.6590004,-70.5299988,2.0669999},
    {-
    12.9180002,-77.4189987,2.0669999},
    {-
    8.2229996,-62.9090004,2.0669999},
    {-
    6.1550002,-56.4550018,2.0669999},
    {-
    3.6619999,-48.0589981,2.0669999},
    {-
    1.2890000,-40.7890015,2.0669999},
    {
    6.3239999,-43.2509995,2.0669999},
    {
    14.4759998,-45.9930000,2.0669999}
    }; 
    Ко всем TextDraw:
    PHP код:
    SAD[0] = TextDrawCreate(628.500000191.277770"usebox");
        
    TextDrawLetterSize(SAD[0], 0.0000005.698146);
        
    TextDrawTextSize(SAD[0], 482.0000000.000000);
        
    TextDrawAlignment(SAD[0], 1);
        
    TextDrawColor(SAD[0], 0);
        
    TextDrawUseBox(SAD[0], true);
        
    TextDrawBoxColor(SAD[0], -993738219);
        
    TextDrawSetShadow(SAD[0], 0);
        
    TextDrawSetOutline(SAD[0], 0);
        
    TextDrawFont(SAD[0], 0);

        
    SAD[1] = TextDrawCreate(491.500000196.622253"AMOUNT:");
        
    TextDrawLetterSize(SAD[1], 0.4499991.600000);
        
    TextDrawAlignment(SAD[1], 1);
        
    TextDrawColor(SAD[1], -1);
        
    TextDrawSetShadow(SAD[1], 0);
        
    TextDrawSetOutline(SAD[1], 1);
        
    TextDrawBackgroundColor(SAD[1], 51);
        
    TextDrawFont(SAD[1], 2);
        
    TextDrawSetProportional(SAD[1], 1);

        
    SAD[2] = TextDrawCreate(492.500000222.133316"MONEY:");
        
    TextDrawLetterSize(SAD[2], 0.4499991.600000);
        
    TextDrawAlignment(SAD[2], 1);
        
    TextDrawColor(SAD[2], -1);
        
    TextDrawSetShadow(SAD[2], 0);
        
    TextDrawSetOutline(SAD[2], 1);
        
    TextDrawBackgroundColor(SAD[2], 51);
        
    TextDrawFont(SAD[2], 2);
        
    TextDrawSetProportional(SAD[2], 1); 
    в OnPlayerConnect:
    PHP код:
    SADD[playerid] = TextDrawCreate(580.500000196.622146,"_");
        
    TextDrawAlignment(SADD[playerid],0);
        
    TextDrawBackgroundColor(SADD[playerid], 51);
        
    TextDrawFont(SADD[playerid],2);
        
    TextDrawLetterSize(SADD[playerid],0.38,1.600000);
        
    TextDrawColor(SADD[playerid],-5963521);
        
    TextDrawSetOutline(SADD[playerid],0);
        
    TextDrawSetProportional(SADD[playerid],1);
        
    TextDrawSetShadow(SADD[playerid],1);
        
    TextDrawShowForPlayer(playeridSADD[playerid]);
        
        
    SADD1[playerid] = TextDrawCreate(565.500000221.511093,"_");
        
    TextDrawAlignment(SADD1[playerid],0);
        
    TextDrawBackgroundColor(SADD1[playerid], 51);
        
    TextDrawFont(SADD1[playerid],2);
        
    TextDrawLetterSize(SADD1[playerid],0.38,1.600000);
        
    TextDrawColor(SADD1[playerid],-5963521);
        
    TextDrawSetOutline(SADD1[playerid],0);
        
    TextDrawSetProportional(SADD1[playerid],1);
        
    TextDrawSetShadow(SADD1[playerid],1);
        
    TextDrawShowForPlayer(playeridSADD1[playerid]); 
    ко всем пикапам:

    PHP код:
     if(pickupid == Fermer)
        {
            
    InfoPickup[playerid] = pickupid;
            
    EnterPickup[playerid] = gettime()+10;
            
    SPD(playerid,5808DIALOG_STYLE_MSGBOX"Работа: Фермер""{00cc00}Трудоустройство:\n\n{FFFFFF}1 - Если вы хотите работать на работе 'Фермер' нажмите 'Да'\n2 - Переоденьтесь в рабочую одежду.\n3 - При нажатии кнопки 'Нет' вы автоматически увольняетесь с работы""Да""Нет");
        }
    if(
    pickupid == fermers[0])
        {
            
    SetPlayerPos(playerid,-11.3575,47.4747,3.1172);
            
    SetPlayerFacingAngle(playerid249.7656);
        }
        if(
    pickupid == fermers[1])
        {
            
    SetPlayerPos(playerid,11.5024,226.1455,764.9890);
            
    SetPlayerFacingAngle(playerid47.6871);
        } 
    ко всем case:
    PHP код:
         case 5808:
            {
                if(
    response)
                {
                    if(
    StartFarm[playerid] != 0) return SendClientMessage(playerid,COLOR_WHITE,"Ошибка: Вы уже работаете фермером!");
                    {
                        
    SendClientMessage(playeridCOLOR_GREEN"Вы успешно устроились на работу фермера!");
                        
    StartFarm[playerid] = 1;
                        
    TextDrawShowForPlayer(playerid,SAD[0]);
                        
    TextDrawShowForPlayer(playerid,SAD[1]);
                        
    TextDrawShowForPlayer(playerid,SAD[2]);
                        
    TextDrawShowForPlayer(playerid,SADD[playerid]);
                        
    TextDrawShowForPlayer(playerid,SADD1[playerid]);
                        
    SetPVarInt(playerid"Sad"1);
                        
    AmmountWood[playerid] = 0;
                        new 
    rand random(sizeof(derevo));
                        
    SetPlayerCheckpoint(playerid,derevo[rand][0],derevo[rand][1],derevo[rand][2],3.0);
                        return 
    true;
                    }
                }
                else
                {
                    
    SendClientMessage(playeridCOLOR_GREEN"Вы успешно уволились с работы фермера!");
                    new 
    moneysad AmmountWood[playerid]*30;
                    
    StartFarm[playerid] = 0;
                    
    PlayerInfo[playerid][pCash] += moneysad;
                    
    format(stringersizeof(stringer), "~g~+ %d$",moneysad);
                    
    GameTextForPlayer(playerid,stringer,5000,1);
                    
    RemovePlayerAttachedObject(playerid4);
                    
    DisablePlayerCheckpoint(playerid);
                    
    AmmountWood[playerid] = 0;
                    
    DeletePVar(playerid"Sad");
                       
    TextDrawHideForPlayer(playerid,SAD[0]);
                    
    TextDrawHideForPlayer(playerid,SAD[1]);
                    
    TextDrawHideForPlayer(playerid,SAD[2]);
                    
    TextDrawHideForPlayer(playerid,SADD[playerid]);
                    
    TextDrawHideForPlayer(playerid,SADD1[playerid]);
                }
                return 
    true;
            } 
    в onplayerenterckeckpoint:
    PHP код:
    if(GetPVarInt(playerid"Sad") == 1)
        {
            
    SetTimerEx("SAAAD",3000,0,"%i",playerid);
            
    GameTextForPlayer(playerid,"~y~+1",5200,5);
            
    AmmountWood[playerid] += 1;
            
    /*format(str1, 65,"%d",AmmountWood[playerid]);
            PlayerTextDrawSetString(i, SADD[i],str1);
            format(str1, 65,"%d",AmmountWood[playerid]*2);
            PlayerTextDrawSetString(i, SADD1[i],str1);*/
            
    ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,1,1,1,1,0);
            new 
    rand random(sizeof(derevo));
            
    SetPlayerCheckpoint(playerid,derevo[rand][0],derevo[rand][1],derevo[rand][2],3.0);
            
    //DeletePVar(playerid, "Sad"); // Удаляем в случае new обнуляем переменую чтобы эта функция не вызывалась в другом чекпоинте
            
    DisablePlayerCheckpoint(playerid); // Ну и отключаем чекпоинт
            //SetPVarInt(playerid, "Sad", 1);
            
    return true;
        } 
    ко всем createpickup:
    PHP код:
    Fermer CreatePickupAC(1275238.3632,228.5123,764.9890);
    fermers[1] = CreatePickup(1318,23,-13.0482,47.9032,3.1172,-1);
    fermers[0] = CreatePickup(1318,23,10.7394,223.5529,764.9890,-1); 
    в конец мода:
    PHP код:
    public SAAAD(playerid)
    {
        
    DisablePlayerCheckpoint(playerid); // Ну и отключаем чекпоинт
        
    new rand random(sizeof(derevo));
        
    SetPlayerCheckpoint(playerid,derevo[rand][0],derevo[rand][1],derevo[rand][2],3.0);
        
    ClearAnimations(playerid);
        
    //DeletePVar(playerid, "Sad"); // Удаляем в случае new обнуляем переменую чтобы эта функция не вызывалась в другом чекпоинте
        
    SetPVarInt(playerid"Sad"1);
        new 
    string[126];
           
    format(string,sizeof(string),"%d",AmmountWood[playerid]);
        
    TextDrawSetString(SADD[playerid], string);
        
    format(string,sizeof(string),"%d",AmmountWood[playerid]*30);
        
    TextDrawSetString(SADD1[playerid], string);
        return 
    true;

    ко всем объектам:
    PHP код:
        CreateObject(1571,1692.8000000,-2262.1001000,13.8000000,0.0000000,0.0000000,180.0000000); //object(cj_noodle_1) (1)
        
    CreateObject(2653,-21.2229996,-37.7700005,7.8490000,0.0000000,0.0000000,342.0000000); //object(cj_aircon3) (1)
        
    CreateObject(2653,-23.6499996,-45.2500000,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (2)
        
    CreateObject(2653,-26.0639992,-52.7179985,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (3)
        
    CreateObject(2653,-28.5020008,-60.1800003,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (4)
        
    CreateObject(2653,-18.7940006,-30.2980003,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (5)
        
    CreateObject(2649,-17.3869991,-24.9179993,8.0970001,0.0000000,0.0000000,72.0000000); //object(cj_aircon2) (1)
        
    CreateObject(2653,-19.5240002,-30.0119991,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (6)
        
    CreateObject(2653,-21.9559994,-37.5000000,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (7)
        
    CreateObject(2653,-24.3810005,-44.9700012,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (8)
        
    CreateObject(2653,-26.8139992,-52.4609985,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (9)
        
    CreateObject(2653,-29.2469997,-59.9519997,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (10)
        
    CreateObject(2653,-30.9309998,-67.6790009,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (13)
        
    CreateObject(2653,-33.3699989,-75.1669998,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (14)
        
    CreateObject(2653,-31.6639996,-67.4229965,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (15)
        
    CreateObject(2653,-34.0909996,-74.9140015,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (16)
        
    CreateObject(2649,-16.9930000,-23.7630005,6.1719999,0.0000000,90.0000000,72.0000000); //object(cj_aircon2) (2)
        
    CreateObject(2649,-35.4440002,-80.3050003,8.0970001,0.0000000,0.0000000,252.0000000); //object(cj_aircon2) (3)
        
    CreateObject(2649,-35.8769989,-81.5179977,6.0219998,0.0000000,90.0000000,252.0000000); //object(cj_aircon2) (4)
        
    CreateObject(2649,-17.2740002,-24.6650009,3.2969999,0.0000000,270.0000000,72.0000000); //object(cj_aircon2) (5)
        
    CreateObject(2649,-35.6250000,-80.6490021,3.1470001,0.0000000,270.0000000,252.7500000); //object(cj_aircon2) (6)
        
    CreateObject(2653,-28.8850002,-75.2860031,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (17)
        
    CreateObject(2653,-21.4200001,-77.7200012,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (18)
        
    CreateObject(2653,-13.9320002,-80.1630020,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (19)
        
    CreateObject(2653,-6.4439998,-82.6050034,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (20)
        
    CreateObject(2653,1.0450000,-85.0479965,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (21)
        
    CreateObject(2653,8.4930000,-87.4509964,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (22)
        
    CreateObject(2653,15.9540005,-89.8840027,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (23)
        
    CreateObject(2653,-24.6620007,-62.1839981,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (24)
        
    CreateObject(2653,-17.1739998,-64.6279984,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (25)
        
    CreateObject(2653,-9.6829996,-67.0699997,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (26)
        
    CreateObject(2653,-2.1919999,-69.5120010,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (27)
        
    CreateObject(2653,5.3039999,-71.9520035,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (28)
        
    CreateObject(2653,12.7749996,-74.3850021,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (29)
        
    CreateObject(2653,20.2399998,-76.8199997,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (30)
        
    CreateObject(2653,19.9599991,-91.3379974,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (31)
        
    CreateObject(2653,22.3859997,-83.8690033,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (32)
        
    CreateObject(2653,24.7970009,-76.4459991,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (33)
        
    CreateObject(2649,18.6340008,-96.6920013,8.0970001,0.0000000,0.0000000,251.9989014); //object(cj_aircon2) (7)
        
    CreateObject(2653,20.7430000,-91.6029968,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (34)
        
    CreateObject(2653,23.1580009,-84.1610031,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (35)
        
    CreateObject(2653,25.5890007,-76.6689987,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (36)
        
    CreateObject(2653,28.0130005,-69.1999969,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (37)
        
    CreateObject(2653,27.2159996,-68.9509964,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (38)
        
    CreateObject(2653,29.6599998,-61.4910011,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (39)
        
    CreateObject(2653,32.1090012,-54.0299988,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (40)
        
    CreateObject(2653,34.5419998,-46.5429993,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (41)
        
    CreateObject(2653,30.4200001,-61.6969986,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (42)
        
    CreateObject(2653,32.8370018,-54.2529984,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (43)
        
    CreateObject(2653,35.2639999,-46.7859993,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (44)
        
    CreateObject(2649,18.2619991,-97.8830032,6.0219998,0.0000000,90.0000000,251.9989014); //object(cj_aircon2) (8)
        
    CreateObject(2649,18.5440006,-96.9619980,3.1470001,0.0000000,270.0000000,252.7459717); //object(cj_aircon2) (9)
        
    CreateObject(2649,18.5779991,-96.9749985,-0.0530000,0.0000000,90.0000000,72.7459717); //object(cj_aircon2) (10)
        
    CreateObject(2649,36.6529999,-41.3989983,8.0469999,0.0000000,0.0000000,71.9989014); //object(cj_aircon2) (11)
        
    CreateObject(2649,37.0429993,-40.1990013,6.1220002,0.0000000,90.0000000,71.9989014); //object(cj_aircon2) (12)
        
    CreateObject(2649,36.7379990,-41.0660019,3.2219999,0.0000000,269.9945068,71.9989014); //object(cj_aircon2) (13)
        
    CreateObject(2649,36.6440010,-41.4099998,0.0220000,0.0000000,90.0000000,71.9989624); //object(cj_aircon2) (14)
        
    CreateObject(2653,-19.7900009,-47.3959999,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (45)
        
    CreateObject(2653,-12.3000002,-49.8320007,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (46)
        
    CreateObject(2653,-4.8319998,-52.2599983,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (47)
        
    CreateObject(2653,2.6359999,-54.6889992,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (48)
        
    CreateObject(2653,10.1269999,-57.1250000,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (49)
        
    CreateObject(2653,17.6180000,-59.5610008,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (50)
        
    CreateObject(2653,25.0359993,-61.9760017,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (51)
        
    CreateObject(2653,-14.9060001,-32.2570000,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (52)
        
    CreateObject(2653,-7.4299998,-34.6879997,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (53)
        
    CreateObject(2653,0.0610000,-37.1230011,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (54)
        
    CreateObject(2653,7.5510001,-39.5579987,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (55)
        
    CreateObject(2653,15.0249996,-41.9620018,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (56)
        
    CreateObject(2653,22.5149994,-44.3979988,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (57)
        
    CreateObject(2653,30.0060005,-46.8330002,7.8490000,0.0000000,0.0000000,71.9989014); //object(cj_aircon3) (58)
        
    CreateObject(2653,27.4389992,-50.5369987,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (59)
        
    CreateObject(2653,25.1429996,-57.5229988,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (60)
        
    CreateObject(2653,20.2810001,-48.0400009,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (61)
        
    CreateObject(2653,17.9589996,-55.2239990,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (62)
        
    CreateObject(2653,10.2670002,-52.6010017,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (63)
        
    CreateObject(2653,12.4729996,-45.6990013,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (64)
        
    CreateObject(2653,3.7349999,-42.7879982,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (65)
        
    CreateObject(2653,1.4820000,-49.7610016,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (66)
        
    CreateObject(2653,-7.1690001,-47.0009995,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (67)
        
    CreateObject(2653,-4.9029999,-40.0299988,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (68)
        
    CreateObject(2653,-13.4639997,-37.2540016,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (69)
        
    CreateObject(2653,-15.7790003,-44.2570000,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (70)
        
    CreateObject(2653,22.4899998,-65.6019974,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (71)
        
    CreateObject(2653,20.3129997,-72.3359985,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (72)
        
    CreateObject(2653,15.2969999,-63.3050003,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (73)
        
    CreateObject(2653,13.1590004,-69.9729996,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (74)
        
    CreateObject(2653,7.6599998,-60.8240013,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (75)
        
    CreateObject(2653,-1.1780000,-57.9659996,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (76)
        
    CreateObject(2653,-9.8389997,-55.1320000,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (77)
        
    CreateObject(2653,-18.4080009,-52.3670006,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (78)
        
    CreateObject(2653,-11.9879999,-61.8470001,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (79)
        
    CreateObject(2653,-20.5599995,-59.0009995,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (80)
        
    CreateObject(2653,-23.2089996,-67.2089996,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (81)
        
    CreateObject(2653,-24.7859993,-72.1119995,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (82)
        
    CreateObject(2653,5.4970002,-67.5329971,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (83)
        
    CreateObject(2653,-3.3640001,-64.6679993,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (84)
        
    CreateObject(2653,17.7099991,-80.4550018,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (85)
        
    CreateObject(2653,16.1000004,-85.4000015,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (86)
        
    CreateObject(2653,10.4860001,-78.1539993,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (87)
        
    CreateObject(2653,8.8970003,-83.0820007,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (88)
        
    CreateObject(2653,2.9530001,-75.6780014,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (89)
        
    CreateObject(2653,1.3830000,-80.6360016,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (90)
        
    CreateObject(2653,-6.0130000,-72.7969971,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (91)
        
    CreateObject(2653,-7.6230001,-77.6890030,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (92)
        
    CreateObject(2653,-14.6800003,-69.9179993,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (93)
        
    CreateObject(2653,-16.3050003,-74.8870010,7.8490000,0.0000000,0.0000000,341.9989014); //object(cj_aircon3) (94)
        
    CreateObject(738,-17.3729992,-35.3050003,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (1)
        
    CreateObject(738,-19.7919998,-42.8380013,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (2)
        
    CreateObject(738,-9.7679996,-37.7890015,2.0170000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (4)
        
    CreateObject(738,-12.1829996,-44.9199982,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (5)
        
    CreateObject(738,-15.1330004,-53.9500008,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (6)
        
    CreateObject(738,-17.3299999,-60.7529984,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (7)
        
    CreateObject(738,-25.4090004,-58.1129990,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (8)
        
    CreateObject(738,-23.0009995,-50.7459984,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (9)
        
    CreateObject(738,-27.8150005,-65.4789963,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (10)
        
    CreateObject(738,-29.8640003,-71.7519989,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (11)
        
    CreateObject(738,-21.6259995,-74.3119965,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (12)
        
    CreateObject(738,-19.4519997,-67.6579971,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (13)
        
    CreateObject(738,-10.6590004,-70.5299988,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (14)
        
    CreateObject(738,-12.9180002,-77.4189987,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (15)
        
    CreateObject(738,-8.2229996,-62.9090004,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (16)
        
    CreateObject(738,-6.1550002,-56.4550018,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (17)
        
    CreateObject(738,-3.6619999,-48.0589981,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (18)
        
    CreateObject(738,-1.2890000,-40.7890015,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (19)
        
    CreateObject(738,6.3239999,-43.2509995,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (20)
        
    CreateObject(738,14.4759998,-45.9930000,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (21)
        
    CreateObject(738,23.0429993,-48.6780014,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (22)
        
    CreateObject(738,30.0149994,-50.6650009,1.5420001,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (23)
        
    CreateObject(738,27.6739998,-57.8740005,1.2920001,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (24)
        
    CreateObject(738,20.6529999,-55.8720016,1.9670000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (25)
        
    CreateObject(738,12.1650000,-53.4529991,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (26)
        
    CreateObject(738,3.9440000,-50.5890007,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (27)
        
    CreateObject(738,1.0750000,-58.6529999,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (28)
        
    CreateObject(738,-0.7140000,-65.3779984,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (29)
        
    CreateObject(738,9.2489996,-61.3230019,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (30)
        
    CreateObject(738,17.3180008,-63.6699982,1.7670000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (31)
        
    CreateObject(738,24.2089996,-65.9219971,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (32)
        
    CreateObject(738,21.8939991,-72.5360031,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (33)
        
    CreateObject(738,14.4200001,-70.3020020,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (34)
        
    CreateObject(738,6.5149999,-67.9400024,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (35)
        
    CreateObject(738,4.1529999,-75.8440018,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (36)
        
    CreateObject(738,2.3629999,-81.8320007,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (37)
        
    CreateObject(738,10.5070000,-84.2639999,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (38)
        
    CreateObject(738,12.2250004,-78.5149994,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (39)
        
    CreateObject(738,19.6499996,-80.7330017,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (40)
        
    CreateObject(738,17.8600006,-86.7210007,1.0920000,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (41)
        
    CreateObject(738,-4.2630000,-79.8850021,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (42)
        
    CreateObject(738,-2.3440001,-73.1529999,2.0669999,0.0000000,0.0000000,0.0000000); //object(aw_streettree2) (43)
        
    CreateObject(19375,10.9519997,227.8410034,763.9030151,0.0000000,90.0000000,0.0000000); //object(wall023) (2)
        
    CreateObject(1497,10.7639999,223.1000061,763.9890137,0.0000000,0.0000000,0.0000000); //object(gen_doorext02) (2)
        
    CreateObject(1497,10.7869997,223.1230011,763.9890137,0.0000000,0.0000000,180.0000000); //object(gen_doorext02) (3)
        
    CreateObject(19437,5.7930002,232.7189941,765.7390137,0.0000000,0.0000000,270.0000000); //object(wall077) (6)
        
    CreateObject(19456,17.0709991,223.0930023,765.7390137,0.0000000,0.0000000,90.0000000); //object(wall096) (10)
        
    CreateObject(19456,16.2490005,227.9720001,765.7390137,0.0000000,0.0000000,0.0000000); //object(wall096) (11)
        
    CreateObject(19456,11.3730001,232.7189941,765.7390137,0.0000000,0.0000000,270.0000000); //object(wall096) (12)
        
    CreateObject(19456,5.6710000,227.9320068,765.7390137,0.0000000,0.0000000,0.0000000); //object(wall096) (13)
        
    CreateObject(19456,7.6059999,223.0610046,765.7390137,0.0000000,0.0000000,90.0000000); //object(wall096) (14)
        
    CreateObject(1738,8.1560001,223.2940063,764.6439819,0.0000000,0.0000000,0.0000000); //object(cj_radiator_old) (1)
        
    CreateObject(1778,7.1560001,223.6670074,763.9890137,0.0000000,0.0000000,0.0000000); //object(cj_mop_pail) (1)
        
    CreateObject(1808,13.6020002,223.3370056,763.9890137,0.0000000,0.0000000,180.0000000); //object(cj_watercooler2) (1)
        
    CreateObject(2833,10.2049999,223.4600067,763.9890137,0.0000000,0.0000000,0.0000000); //object(gb_livingrug02) (1)
        
    CreateObject(1729,14.9700003,228.4550018,763.9890137,0.0000000,0.0000000,300.0000000); //object(mrk_seating3b) (1)
        
    CreateObject(1729,14.8649998,224.0859985,763.9890137,0.0000000,0.0000000,220.7481689); //object(mrk_seating3b) (2)
        
    CreateObject(1728,15.2519999,227.2940063,763.9890137,0.0000000,0.0000000,270.0000000); //object(mrk_seating3) (1)
        
    CreateObject(2311,13.3210001,226.9499969,763.9890137,0.0000000,0.0000000,270.0000000); //object(cj_tv_table2) (1)
        
    CreateObject(14782,11.2229996,232.2660065,765.0050049,0.0000000,0.0000000,0.0000000); //object(int3int_boxing30) (1)
        
    CreateObject(2008,7.4429998,228.5700073,763.9890137,0.0000000,0.0000000,270.0000000); //object(officedesk1) (1)
        
    CreateObject(2010,6.8290000,226.2870026,763.9920044,0.0000000,0.0000000,0.0000000); //object(nu_plant3_ofc) (1)
        
    CreateObject(2010,6.6900001,229.7149963,763.9920044,0.0000000,0.0000000,0.0000000); //object(nu_plant3_ofc) (2)
        
    CreateObject(19454,14.5249996,227.9479980,767.4390259,0.0000000,90.0000000,0.0000000); //object(wall094) (8)
        
    CreateObject(19454,11.0240002,227.9380035,767.4390259,0.0000000,90.0000000,0.0000000); //object(wall094) (9)
        
    CreateObject(19454,7.5260000,227.8999939,767.4390259,0.0000000,90.0000000,0.0000000); //object(wall094) (10)
        
    CreateObject(19454,4.0330000,227.8869934,767.4390259,0.0000000,90.0000000,0.0000000); //object(wall094) (11) 
    Скриншоты:

      Открыть/закрыть







    Для особо одарёных: Автор не Я
    Последний раз редактировалось Gena_Litvinov; 29.09.2014 в 15:47.

  2. #2
    Аватар для SmitSon
    Пользователь

    Статус
    Оффлайн
    Регистрация
    20.09.2014
    Сообщений
    3
    Репутация:
    0 ±
    Беру на проверку себе , кстате по скринам не переодевается?)
    Однако очень интересная тема !

  3. #3
    Аватар для gangzone.ini
    Модератор

    Статус
    Оффлайн
    Регистрация
    15.06.2014
    Сообщений
    650
    Репутация:
    105 ±
    Цитата Сообщение от SmitSon Посмотреть сообщение
    Беру на проверку себе , кстате по скринам не переодевается?)
    Однако очень интересная тема !
    Выдачу скина легко сделать)
    По теме,хорошая работа)
    Последний раз редактировалось gangzone.ini; 29.09.2014 в 13:03.
    Модератор с 19.03.2015

  4. #4
    Аватар для gangzone.ini
    Модератор

    Статус
    Оффлайн
    Регистрация
    15.06.2014
    Сообщений
    650
    Репутация:
    105 ±
    Не красиво копировать... с p-i скопировал...
    Последний раз редактировалось gangzone.ini; 29.09.2014 в 13:04.
    Модератор с 19.03.2015

  5. #5
    Аватар для Skyline
    Пользователь

    Статус
    Оффлайн
    Регистрация
    31.01.2014
    Адрес
    Россия
    Сообщений
    247
    Репутация:
    2 ±
    Присудил себе чужую работу - автор не ты.

  6. #6
    Аватар для Gena_Litvinov
    Пользователь

    Статус
    Оффлайн
    Регистрация
    27.09.2014
    Адрес
    CCCР
    Сообщений
    21
    Репутация:
    0 ±
    Skyline,я и не говорил что автор я =)

  7. #7
    Аватар для gangzone.ini
    Модератор

    Статус
    Оффлайн
    Регистрация
    15.06.2014
    Сообщений
    650
    Репутация:
    105 ±
    Цитата Сообщение от Gena_Litvinov Посмотреть сообщение
    Skyline,я и не говорил что автор я =)
    При капипасте читали бы хотя бы что там написано.
    Вот написал простенькую работу фермера, ваша задача собирать яблоки с деревьев.
    Модератор с 19.03.2015

  8. #8
    Аватар для Gena_Litvinov
    Пользователь

    Статус
    Оффлайн
    Регистрация
    27.09.2014
    Адрес
    CCCР
    Сообщений
    21
    Репутация:
    0 ±
    Исправил !
    Цитата Сообщение от #Azumi Посмотреть сообщение
    При капипасте читали бы хотя бы что там написано.

  9. #9
    Аватар для Salvacore
    Инжунер-погромист

    Статус
    Оффлайн
    Регистрация
    10.05.2013
    Адрес
    Аҧсуа бызшәа
    Сообщений
    2,282
    Репутация:
    417 ±
    Что за SPD?


    лел
    PHP код:
    new Text:SAD[3];
    new 
    Text:SADD[MAX_PLAYERS];
    new 
    Text:SADD1[MAX_PLAYERS]; 

  10. #10
    Аватар для Daniel_Cortez
    new fuck_logic[0] = EOS;

    Статус
    Оффлайн
    Регистрация
    06.04.2013
    Адрес
    Novokuznetsk, Russia
    Сообщений
    1,662
    Репутация:
    2145 ±
    Такое ощущение, что многие даже бегло не смотрят на правила раздела -_-

    Не указан автор, в коде куча необъявленных переменных, имена на каком-то непонятном языке, отсутствие табуляции...
    Неужели вы думаете, что за такое можно одобрить тему?!

    Оставлю тему закрытой. Пусть все видят, как НЕ стоит писать мануалы.
    Индивидуально в PM и Skype по скриптингу не помогаю. Задавайте все свои вопросы здесь (click).
    SA-MP 0.4 is a lie

 

 

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •