14:59
ОбновитьСмайлыУправление мини-чатом
МИНИ-ЧАТ
Главная страница!

 



 
          





Рекомендуем:





Последние Файлы GTA 4 Последние Файлы GTA-MP Реклама
Скрипт GTA 4 элементы Watch... 07.09.2014
Ferrari 360 Spider [EPM con... 13.12.2013
Porsche Cayenne Turbo 2012 ... 13.12.2013
Shelby Terlingua Mustang v1... 13.12.2013
Hamann Lamborghini Gallardo... 27.10.2013
[GM] The Big PEN1:LS v2.00 ... 04.12.2017
Dgun (AvnanceRP,SampRP,Dimo... 19.03.2016
SAMP скрипт SX Events (MySQ... 03.03.2016
Карта ASL мэрия для SAMP се... 03.03.2016
AIM для SA-MP 0.3.7 22.02.2016
  • Страница 1 из 5
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Модератор форума: Alcoholik  
Форум SAMP о мультиплеерах для GTA. » Популярные моды » The Godfather » Работа наркофермера
Работа наркофермера
FiLEДата: Вторник, 31.08.2010, 00:02 | Сообщение # 1
Группа: Разработчики
Сообщений: 681
Награды: 70
Город: Одесса
Замечания: 0%
Статус:
Работа наркофермера

Идея заключается в следующем: сбор урожая комбайном => сдать урожай на склад => сесть в легковую машину => взять нарко со склада => отвезти в притон => продать в притоне (на заднем дворе). Работа не жирная но пыльная :D

Подразумевается, что у Вас уже создана фракция наркофермеров (FAQ по добавлению фракции лежит на форуме), поэтому нужно будем вам самим адаптировать мод под себя.



Инструкция к установке:


1. Добавляем forwards
Code

forward Timerdrugs(id);
forward Timerdrugs2(id);
forward LoadFarmer();
forward SaveFarmer();
forward IsAnFarm(playerid);



2. Добавляем переменные
Code

new combine = 0;
new drugsobject[110];
new drugsobject2[110];
new drugspickupid[110];
new combine1 = 0;
new combine2 = 0;
new storagefarm;
new storageden;
new timerdrug = 25000;
new timerdrug2 = 1000;
new drugskg[MAX_PLAYERS];
new drugsgr;



3. Создаем файл drugs.ini в папке scriptfiles с содержимым 5000|5000 (заполненость наркофермы|заполненость притона)


4. Добавляем паблики
Code

public IsAnFarm(playerid)
{
if(IsPlayerConnected(playerid))
{
  new leader = PlayerInfo[playerid][pLeader];
  new member = PlayerInfo[playerid][pMember];
  if(member==5)//
  {
   return 1;
  }
  if(leader==5)//
  {
   return 1;
  }
}
return 0;
}
public LoadFarmer()
{
  new arrCoords[2][64];
  new strFromFile2[256];
  new File: file = fopen("drugs.ini", io_read);
  if (file)
  {
   fread(file, strFromFile2);
   split(strFromFile2, arrCoords, '|');

   storagefarm = strval(arrCoords[0]);
   storageden = strval(arrCoords[1]);

   fclose(file);
  }
  return 1;
}

public SaveFarmer()
{
  new coordsstring[256];
  format(coordsstring, sizeof(coordsstring), "%d|%d", storagefarm, storageden);
  new File: file2 = fopen("drugs.ini", io_write);
  fwrite(file2, coordsstring);
  fclose(file2);
  return 1;
}
public Timerdrugs(id)
{
      for(new d=0; d < sizeof(drugsposition); d++)
   {
    if (d == id)
    {
    drugsobject[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],128.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
    drugsobject2[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],129.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
       drugspickupid[id] = CreatePickup(1242, 14, drugsposition[d][0], drugsposition[d][1], 127.615625); //
    }
   }  
     return 1;
}
public Timerdrugs2(id)
{
      for(new d=0; d < sizeof(drugsposition); d++)
   {
    if (d == id)
    {
    drugsobject[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],128.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
    drugsobject2[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],129.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
       drugspickupid[id] = CreatePickup(1242, 14, drugsposition[d][0], drugsposition[d][1], 127.615625); //
    }
   }
     return 1;
}



5. Ко всем массивам добавляем
Code

new Float:drugsposition[110][3] = {
{-1187.31481934,-1055.79821777,129.2187500},
{-1189.56530762,-1040.53283691,129.2187500},
{-1188.87915039,-1024.93859863,129.2187500},
{ -1189.06616211,-1009.78601074,129.2187500},
{-1188.89440918,-993.43719482,129.21875000},
{-1188.73217773,-977.98822021,129.21875000},
{-1 188.56884766,-961.78900146,129.21192932},
{-1188.39331055,-945.14044189,129.21192932},
{-1188.20520020,-927.89184570,129.21875000},
{-117 2.75439453,-1055.18518066,129.2187500},
{-1173.97363281,-1040.55773926,129.2187500},
{-1173.62121582,-1025.41247559,129.2187500},
{-1173. 25537109,-1009.66662598,129.2187500},
{-1172.88537598,-993.77050781,129.21875000},
{-1172.53662109,-978.77423096,129.21875000},
{-1172.17 700195,-963.02807617,129.21192932},
{-1171.77636719,-946.08258057,129.21875000},
{-1171.39965820,-929.88659668,129.21875000},
{-1155.4638 6719,-928.94873047,129.21875000},
{-1154.79638672,-945.76794434,129.21875000},
{-1156.58752441,-963.67852783,129.21875000},
{-1156.317871 09,-979.22033691,129.21875000},
{-1157.56787109,-993.56604004,129.21875000},
{-1156.64050293,-1009.90838623,129.2187500},
{-1159.36169434 ,-1024.94433594,129.2187500},
{-1157.01196289,-1040.41101074,129.2187500},
{-1155.49243164,-1054.99658203,129.2187500},
{-1140.38330078,- 1055.52819824,129.2187500},
{-1140.78295898,-1041.13354492,129.2187500},
{-1141.21875000,-1025.38964844,129.2187500},
{-1140.58447266,-10 09.60797119,129.2187500},
{-1141.10571289,-994.78100586,129.21875000},
{-1139.44055176,-979.26989746,129.21875000},
{-1140.80786133,-962. 24249268,129.21875000},
{-1138.78747559,-946.35577393,129.21875000},
{-1138.09179688,-930.89501953,129.21875000},
{-1124.15441895,-920.72 192383,129.21875000},
{-1124.33166504,-937.24218750,129.21875000},
{-1124.52209473,-955.39111328,129.21875000},
{-1124.67944336,-970.3901 9775,129.21875000},
{-1124.84936523,-986.58935547,129.21875000},
{-1124.90209961,-1002.10119629,129.2187500},
{-1124.42004395,-1019.49462 891,129.2187500},
{-1123.96057129,-1036.43835449,129.2119293},
{-1123.48571777,-1053.23168945,129.2187500},
{-1108.98327637,-1054.3532714 8,129.2187500},
{-1108.30395508,-1038.39526367,129.2119293},
{-1107.98291016,-1021.91979980,129.2187500},
{-1107.80883789,-1004.30706787, 129.2187500},
{-1105.61840820,-986.89428711,129.21875000},
{-1103.52941895,-971.74108887,129.21875000},
{-1104.63134766,-955.63098145,129 .21875000},
{-1106.94091797,-940.09698486,129.21875000},
{-1108.34448242,-924.22302246,129.21875000},
{-1012.87835693,-1054.74340820,129. 2187500},
{-1028.50744629,-1056.21691895,129.2187500},
{-1045.73278809,-1057.13134766,129.2119293},
{-1061.66149902,-1056.99194336,129.21 19293},
{-1077.06848145,-1057.35278320,129.2119293},
{-1092.80615234,-1057.97656250,129.2119293},
{-1011.23474121,-1037.86560059,129.2187 500},
{-1026.20312500,-1038.84130859,129.2187500},
{-1042.36877441,-1039.89501953,129.2187500},
{-1057.78503418,-1040.91491699,129.211929 3},
{-1073.18676758,-1040.64001465,129.2187500},
{-1089.89001465,-1039.05200195,129.2187500},
{-1092.54016113,-1023.97473145,129.2187500} ,
{-1076.18334961,-1024.82812500,129.2187500},
{-1059.31005859,-1025.02587891,129.2119293},
{-1043.20617676,-1023.74218750,129.2119293},
{ -1026.94555664,-1021.79357910,129.2187500},
{-1011.39929199,-1020.95043945,129.21875000},
{-1009.23950195,-1005.12329102,129.21875000},
{ -1024.79919434,-1006.01794434,129.21875000},
{-1040.18994141,-1008.06787109,129.21875000},
{-1055.79724121,-1009.36218262,129.21875000},
{ -1072.88232422,-1009.27752686,129.2187500},
{-1089.61987305,-1006.56921387,129.2187500},
{-1089.90637207,-990.40533447,129.21875000},
{-1 074.50830078,-994.03479004,129.21875000},
{-1059.16931152,-994.19226074,129.21875000},
{-1044.15380859,-992.81201172,129.21875000},
{-102 9.59423828,-990.64440918,129.21875000},
{-1013.26586914,-988.80895996,129.21875000},
{-1011.06347656,-973.12219238,129.21875000},
{-1026. 72985840,-974.30920410,129.21875000},
{-1043.22570801,-976.97375488,129.21875000},
{-1060.17089844,-979.11505127,129.21875000},
{-1076.22 253418,-978.95446777,129.21875000},
{-1089.08325195,-974.91864014,129.21875000},
{-1011.07159424,-956.27905273,129.21875000},
{-1026.5676 2695,-959.22583008,129.21875000},
{-1042.13696289,-961.29693604,129.21875000},
{-1057.66516113,-964.20458984,129.21875000},
{-1072.296875 00,-965.26214600,129.21875000},
{-1087.87744141,-959.47808838,129.21875000},
{-1091.77197266,-944.33349609,129.21875000},
{-1093.39648438 ,-927.29022217,129.21875000},
{-1078.48767090,-924.56488037,129.21875000},
{-1063.34533691,-924.88787842,129.21875000},
{-1047.32604980,- 925.84741211,129.21875000},
{-1032.52087402,-925.52294922,129.21875000},
{-1016.18963623,-925.02722168,129.21875000},
{-1076.98339844,-94 1.43719482,129.21875000},
{-1064.08984375,-948.88891602,129.21875000},
{-1055.39025879,-938.28930664,129.21875000},
{-1039.02697754,-944. 04858398,129.21875000},
{-1023.03796387,-943.14624023,129.21875000},
{-1009.17590332,-938.94738770,129.21875000},
{-1199.30883789,-919.80 627441,129.21875000}
};






FiLEДата: Вторник, 31.08.2010, 00:02 | Сообщение # 2
Группа: Разработчики
Сообщений: 681
Награды: 70
Город: Одесса
Замечания: 0%
Статус:
6. Находим паблик public OnPlayerPickUpPickup
и в самый конец кидаем
Code

   for(new d=0; d < sizeof(drugsposition); d++)
   {
    if(pickupid == drugspickupid[d])
   {

   if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
   {
   new newcar = GetPlayerVehicleID(playerid);
   if(newcar == 472 || newcar == 473)
   {
     
   if(newcar == 472)
   {
    if (combine1 > 90)
    {

      new text[64];
   format(text, sizeof(text), "combine is full");
      GameTextForPlayer(playerid, text, 5000, 4);
   SetPlayerCheckpoint(playerid, -1058.386108, -1195.627197, 129.188858 , 10.0);
      DestroyObject(drugsobject[d]);
   DestroyObject(drugsobject2[d]);
   DestroyPickup(drugspickupid[d]);
   SetTimerEx("Timerdrugs", timerdrug, false, "d", d);
        

    return 1;
    }
   combine1 +=10;
   new text[64];
      format(text, sizeof(text), "MAK %d/100",combine1);
      GameTextForPlayer(playerid, text, 5000, 4);
   }
    else if(newcar == 473)
   {
    if (combine2 > 90)
    {
      new text[64];
   format(text, sizeof(text), "combine is full");
      GameTextForPlayer(playerid, text, 5000, 4);
   SetPlayerCheckpoint(playerid, -1058.386108, -1195.627197, 129.188858 , 10.0);
      DestroyObject(drugsobject[d]);
   DestroyObject(drugsobject2[d]);
   DestroyPickup(drugspickupid[d]);
   SetTimerEx("Timerdrugs", timerdrug, false, "d", d);
        
    return 1;
    }
   combine2 +=10;
   new text[64];
      format(text, sizeof(text), "MAK %d/100",combine2);
      GameTextForPlayer(playerid, text, 5000, 4);
   }
      DestroyObject(drugsobject[d]);
   DestroyObject(drugsobject2[d]);
   DestroyPickup(drugspickupid[d]);
   SetTimerEx("Timerdrugs2", timerdrug, false, "d", d);
        
   }
   else
   {
   //format(text, sizeof(text), "combine is full");
      //GameTextForPlayer(playerid, text, 5000, 4);
        
   //SetPlayerCheckpoint(playerid, -1058.386108, -1195.627197, 129.188858 , 10.0);
      DestroyObject(drugsobject[d]);
   DestroyObject(drugsobject2[d]);
   DestroyPickup(drugspickupid[d]);
   SetTimerEx("Timerdrugs", timerdrug2, false, "d", d);
   return 1;
   }
    }
   }
   }



7. Добавляем команды
Code

     if(strcmp(cmd,"/mac",true)==0)
     {
      if(IsPlayerConnected(playerid))
         {
          if (!IsAnFarm(playerid))
        {
     SendClientMessage(playerid,COLOR_GREY,"Вы не наркофермер!");
            return 1;
        }
        new x_nr[256];
        x_nr = strtok(cmdtext, idx);
        if(!strlen(x_nr))
    {
          SendClientMessage(playerid, COLOR_WHITE, "+++:::Crazy_Universe:::+++ Используйте:  /mac [название]");
          SendClientMessage(playerid, COLOR_WHITE, "Используйте: buy, sell, load.");
          return 1;
        }
       if(strcmp(x_nr,"buy",true) == 0) // покупка
       {
           if(IsPlayerConnected(playerid))
           {
               if(!PlayerToPoint(5.0, playerid, -1058.386108, -1195.627197, 129.188858))//Координаты покупки
               {
                   SendClientMessage(playerid, COLOR_GREY, "Вы не около склада наркотиков");//
                   return 1;
               }
               if (!IsPlayerInAnyVehicle(playerid))
               {
                    SendClientMessage(playerid, COLOR_GREY, "Вы не в машине");//
                   return 1;
               }
               tmp = strtok(cmdtext, idx);
               if(!strlen(tmp))
               {
       SendClientMessage(playerid, COLOR_WHITE, "+++:::Crazy_Universe:::+++ Используйте: /mac buy [количество]");//
       return 1;
               }
      drugsgr = strval(tmp);
      if(drugsgr < 1 || drugsgr > 100)// Диапазон покупки
      {
       SendClientMessage(playerid, COLOR_GREY, "Вы не можете возить более 100 грамм.");
       return 1;
      }
      if(GetPlayerMoney(playerid) < drugsgr * 50)// Кол-во материалов умножаем на 50, это и будет оплата за маты + проверка на наличные
          {
       SendClientMessage(playerid, COLOR_GREY, "У вас не хватает наличных.");
       return 1;
          }
          new bugs = drugskg[playerid] + drugsgr;
          if(bugs > 100)
          {
       SendClientMessage(playerid, COLOR_GREY, "Вы не можете взять больше.");
       return 1;
          }
          if(storagefarm < drugsgr)//
          {
       SendClientMessage(playerid, COLOR_GREY, "На ферме возможно закончилось нарко");
       return 1;
          }
          drugskg[playerid] += drugsgr;
          format(string, sizeof(string), "В Вашей машине %d грамм. Последняя покупка: $%d !", drugskg[playerid], drugsgr * 50);
          SendClientMessage(playerid, COLOR_GREY, string);
                     SetPlayerCheckpoint(playerid, 2161.416503, -1659.224243, 14.811087  , 5.0);
       GivePlayerMoney(playerid, - drugsgr * 50);
      storagefarm -= drugsgr;
      SaveFarmer();
     }
     }
       else if(strcmp(x_nr,"sell",true) == 0)
    {
     if(IsPlayerConnected(playerid))
           {
         if(!PlayerToPoint(5.0, playerid, 2159.466552, -1659.275146, 15.455442))
               {
           SendClientMessage(playerid, COLOR_GREY, "Вы не около склада");
        return 1;
      }
                    if (!IsPlayerInAnyVehicle(playerid))
               {
                    SendClientMessage(playerid, COLOR_GREY, "Вы не в машине");//
                   return 1;
               }
       tmp = strtok(cmdtext, idx);
       if(!strlen(tmp))
       {
        SendClientMessage(playerid, COLOR_WHITE, "+++:::Crazy_Universe:::+++ Используйте: /mac sell [количество]");
        return 1;
       }
       drugsgr = strval(tmp);
        if (storageden >= 50000)
      {
       SendClientMessage(playerid, COLOR_GREY, "Притон полон!");
       DisablePlayerCheckpoint(playerid);

       return 1;
       }
       if(drugsgr > drugskg[playerid])
       {
        SendClientMessage(playerid, COLOR_GREY, "У Вас нету столько нарко!");
       return 1;
       }
       //drugskg[playerid] = drugsgr;
        new sellprice = (100)*(drugsgr); // Цена на продажу
       format(string, sizeof(string), "Вы продали %d грамм за %d$!", drugsgr, sellprice);
       SendClientMessage(playerid, COLOR_GREY, string);
       GivePlayerMoney(playerid, (100)*(drugskg[playerid]));
       storageden += drugsgr;
       drugskg[playerid] -= drugsgr;
      format(string, sizeof(string), "Вы продали %d грамм за %d$! Остаток: %d", drugsgr, sellprice, drugskg[playerid]);
       SendClientMessage(playerid, COLOR_GREY, string);
       DisablePlayerCheckpoint(playerid);
       SaveFarmer();
     }
    }

       else if(strcmp(x_nr,"load",true) == 0)
   {
    if(IsPlayerConnected(playerid))
    {
         if(!PlayerToPoint(10.0, playerid, -1058.386108, -1195.627197, 129.188858))
         {
                  SendClientMessage(playerid, COLOR_GREY, "Вы не около склада");
                  return 1;
         }
     format(string, sizeof(string), "На ферме %d/50000  \n В притоне %d/50000 ", storagefarm, storageden);
     SendClientMessage(playerid, COLOR_GREY, string);
    }
       }
  }
}
      if(strcmp(cmd, "/sellmac", true) == 0)
      {
    if(IsPlayerConnected(playerid))
       {
                if (!IsAnFarm(playerid))
         {
      SendClientMessage(playerid,COLOR_GREY,"Вы не наркофермер!");
             return 1;
         }
          if(PlayerToPoint(5.0, playerid, -1058.386108, -1195.627197, 129.188858))
                {
                  if (storagefarm >= 50000)
            {
             SendClientMessage(playerid, COLOR_GREY, "На ферме больше нет места для хранения!");
          DisablePlayerCheckpoint(playerid);
             return 1;
               
            }
           new newcar = GetPlayerVehicleID(playerid);
           if(newcar == 472)
           {
         combine = combine1;
        }
           else if(newcar == 473)
           {
            combine = combine2;
           }
           //new farm = 50000 - storagefarm;
                          DisablePlayerCheckpoint(playerid);

         new sellprice = (100)*(combine); // Цена на продажу
            format(string, sizeof(string), "Вы продали %d за %d$!", combine, sellprice);
            SendClientMessage(playerid, COLOR_GREY, string);
            GivePlayerMoney(playerid, (100)*(combine));
            storagefarm += combine;
            combine = 0;
        if (newcar == 472)
        {
        combine1 = combine;
        }
           else if (newcar == 473)
           {
           combine2 = combine;
           }
        SaveFarmer();
           }
}}








Сообщение отредактировал FiLE95 - Вторник, 31.08.2010, 11:28
FiLEДата: Вторник, 31.08.2010, 00:03 | Сообщение # 3
Группа: Разработчики
Сообщений: 681
Награды: 70
Город: Одесса
Замечания: 0%
Статус:
8. Ищем if(strcmp(cmd,"/get",true)==0)
и перед
Code

              format(string, sizeof(string), "* Вы купили %d грамм за $%d.", ammount, price);
         SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
               GivePlayerMoney(playerid, -price);
         PlayerInfo[playerid][pDrugs] = ammount;

вставляем это:
Code

               if (ammount > storageden)
               {
               SendClientMessage(playerid, COLOR_GREY, "В притоне нету нарко! Наркофермеры не завезли.");
               return 1;
               }

чуть ниже смотрим PlayerInfo[playerid][pDrugs] = ammount;
и перед этой строчкой добавляем
Code

         storageden -=ammount;
         SaveFarmer();



9. Добавляем комбайны
Code

       AddStaticVehicleEx(532,-1090.647705, -1143.137817, 130.195770, 358.470733,-1,-1,600000); // Eiiaaei 1
       AddStaticVehicleEx(532,-1114.593505, -1145.648925, 130.202896, 1.536546,-1,-1,600000); // Eiiaaei 2



10. Добавляем туда где у вас создаются пикапы
Code

    for(new d=0; d < sizeof(drugsposition); d++)
    {
    drugspickupid[d] = CreatePickup(1242, 14, drugsposition[d][0], drugsposition[d][1], 127.615625); //
       }



11. Ищем кучку
Code

    LoadSBizz();
    LoadBoxer();
    LoadStuff();

и ниже добавляем LoadFarmer();


12. Следующий код кидаем туда где у Вас создаются объекты
Code

    for(new d=0; d < sizeof(drugsposition); d++)
    {
     drugsobject[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],128.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
    }
    for(new d=0; d < sizeof(drugsposition); d++)
    {
     drugsobject2[d] = CreateStreamObject(3409,drugsposition[d][0],drugsposition[d][1],129.015625,0.00000000,0.00000000,0.00000000, 250.0); // Ai?ioa aiia Ioneoea
    }


Настройка узнайте иды комбайнов и замените, замените денежные выплаты и цвет сообщений по своему усмотрению. В паблике IsAnFarm измените ид фракции.

Обязательно рекомендуется проверить на защитоустойчивость, глючнойть, если чтото обнаружите - сообщайте что не так работает.

Также хочу заметить, что создание обьектов производится через MidoStream
Так что подгоняйте код под себя или ставьте стример ;)

Вроде-бы ничего не забыл..хз. Laie_98

Сделал видео только сборки урожая

Команда профессии:

/sellmac - сдать нарко на склад (с комбайна)
/mac buy [число] - купить на складе
/mac sell [число] - продать в притоне
/mac load - посмотреть сколько на складах





Сообщение отредактировал FiLE95 - Вторник, 31.08.2010, 14:43
ParlamentДата: Вторник, 31.08.2010, 00:08 | Сообщение # 4
Группа: I'm V.I.P.
Сообщений: 271
Награды: 19
Город: Маарду
Репутация: 474
Замечания: 0%
Статус:
Молодец.Ничего не скажешь,МОЛОТОК! ;)


Aka47Дата: Вторник, 31.08.2010, 01:20 | Сообщение # 5
Новенький
Группа: Пользователи
Сообщений: 44
Награды: 0
Город: Екатеринбург
Репутация: 0
Замечания: 0%
Статус:
Спасибо!) yes :D :D

Добавлено (31.08.2010, 01:20)
---------------------------------------------
Спасибо!) yes :D :D


Ебашим так, на девятках рвутся сабы.
LacosteДата: Вторник, 31.08.2010, 05:05 | Сообщение # 6
Группа: Продвинутые
Сообщений: 844
Награды: 17
Город: Japan, Fukuoka
Репутация: 1140
Замечания: 20%
Статус:
Молодец! Спасибо! Хорошие Работы делаешь!
zloi_terrorДата: Вторник, 31.08.2010, 08:02 | Сообщение # 7
Новенький
Группа: Пользователи
Сообщений: 52
Награды: 0
Город: Казань
Репутация: 2
Замечания: 0%
Статус:
FiLE95, а ты можешь скинуть объекты простые а не через стимер) если не трудно. А так ваще супер)) молодец!
DiSEДата: Вторник, 31.08.2010, 13:09 | Сообщение # 8
Группа: I'm V.I.P.
Сообщений: 1759
Награды: 23
Город: Уфа
Репутация: 337
Замечания: 80%
Статус:
Вам трудно переименовать CreateStreamObject на CreateObject? Научить?
Делается вот как:
открываете pawno, нажимайте 2 клавиши на клавиатуре CTRL+H, и пишите в первом CreateStreamObject, а во втором Create Object. Нажимаете OK, потом Yes all, и вуаля, всё готово. И себе помогли, и глупые вопросы не задаёте
---------------------------------------
FiLE95

как уже всегда радуешь new_russian Спасибо
==============================================
Вот тут массивы слитные
http://pawn.pastebin.com/iJEw8siY


Сообщение отредактировал EnErGiZeR - Вторник, 31.08.2010, 13:18
OrangДата: Среда, 15.09.2010, 23:44 | Сообщение # 9
Новенький
Группа: Пользователи
Сообщений: 7
Награды: 0
Город: Санкт-Петербург
Репутация: 0
Замечания: 0%
Статус:
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2016) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2041) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2062) : error 004: function "SetPlayerCriminal" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2067) : error 004: function "SetPlayerCriminal" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2613) : error 017: undefined symbol "CheckTimeBanList"
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3402) : error 004: function "UnLockCar" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3688) : error 004: function "ShowStats" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3921) : error 004: function "SaveCK" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3951) : error 004: function "SavePapers" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3982) : error 004: function "SaveFamilies" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4248) : error 004: function "SaveStuff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4256) : error 004: function "SaveStuff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4359) : error 004: function "UnLockCar" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4367) : error 004: function "UnLockCar" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4491) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4501) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4510) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4521) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4530) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4539) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4549) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4556) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4566) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4575) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4585) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4594) : error 004: function "SetPlayerToTeamColor" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

wall wall wall wall wall bad bad bad Почему?!


Skype: orang_exact
FiLEДата: Четверг, 16.09.2010, 00:10 | Сообщение # 10
Группа: Разработчики
Сообщений: 681
Награды: 70
Город: Одесса
Замечания: 0%
Статус:
Очень похоже на то что код был вставлен не туда куда было нужно.



JefferYДата: Четверг, 16.09.2010, 00:25 | Сообщение # 11
Новенький
Группа: Пользователи
Сообщений: 58
Награды: 0
Город: DUST
Репутация: 1
Замечания: 0%
Статус:
FiLE95, Это очень похоже на то что мод не The Godfather.
А работа кул )) А то так непонятно откуда берутся эти наркотики ))) Из бездны )
Ещё бы с материалами на оружие чё нить такое же ))

DiSEДата: Четверг, 16.09.2010, 05:54 | Сообщение # 12
Группа: I'm V.I.P.
Сообщений: 1759
Награды: 23
Город: Уфа
Репутация: 337
Замечания: 80%
Статус:
JefferY Уже есть такое http://www.samp-rus.com/forum/17-13315-283043-16-1282143195
FiLEДата: Четверг, 16.09.2010, 15:17 | Сообщение # 13
Группа: Разработчики
Сообщений: 681
Награды: 70
Город: Одесса
Замечания: 0%
Статус:
Quote (JefferY)
А то так непонятно откуда берутся эти наркотики ))) Из бездны )

Полной реальности из игры не добиться. Можно конечно приклеить рассеивание семян и т.п., но излишний функционал будет занудным.



StelsДата: Четверг, 16.09.2010, 16:48 | Сообщение # 14
Группа: I'm V.I.P.
Сообщений: 3167
Награды: 32
Город: Каменск-Уральский
Репутация: 828
Замечания: 0%
Статус:
Quote (FiLE95)
Подразумевается, что у Вас уже создана фракция наркофермеров

Это не очень рационально crazy

А в целом вроде красиво, молоток ;)



Полезные ссылки:
GTA:SA спецсборка для SA-MP / GTA:SA-MP ver. 0.3a / GTA:SA-MP ver. 0.2x / Руссификатор геймтекста в GTA:SA(рекомендуется) / Классная игрушка!(Рекомендую!) / Пак русских шрифтов.
OrangДата: Пятница, 17.09.2010, 15:37 | Сообщение # 15
Новенький
Группа: Пользователи
Сообщений: 7
Награды: 0
Город: Санкт-Петербург
Репутация: 0
Замечания: 0%
Статус:
У меня модэ ГФ. А вот на счёт не туда вставил сейчас посотрю ;)

Добавлено (17.09.2010, 15:37)
---------------------------------------------
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(1871) : error 004: function "OnPlayerCommandText" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(1875) : error 004: function "OnPlayerCommandText" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2014) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2039) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2060) : error 004: function "SetPlayerCriminal" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2065) : error 004: function "SetPlayerCriminal" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2147) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2151) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2155) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2159) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2163) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2175) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2179) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2183) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2187) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2191) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2195) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2199) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2203) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2207) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2211) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2215) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2219) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2223) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2227) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2231) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2235) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2239) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2243) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2247) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2251) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2255) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2259) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2335) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2611) : error 017: undefined symbol "CheckTimeBanList"
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2693) : error 004: function "OnPlayerLogin" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2713) : error 004: function "OnPlayerRegister" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2904) : error 004: function "ProxDetector" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2929) : error 004: function "ProxDetector" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2954) : error 004: function "ProxDetector" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(2978) : error 004: function "ProxDetector" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3002) : error 004: function "ProxDetector" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3400) : error 004: function "UnLockCar" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3558) : warning 209: function "PlayerToPoint" should return a value
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3686) : error 004: function "ShowStats" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3885) : error 004: function "SendIRCMessage" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3907) : error 004: function "SendIRCMessage" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3919) : error 004: function "SaveCK" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3949) : error 004: function "SavePapers" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(3980) : error 004: function "SaveFamilies" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4216) : error 004: function "OOCOff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4228) : error 004: function "OOCOff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4246) : error 004: function "SaveStuff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4248) : error 004: function "OOCOff" is not implemented
D:\Users\ExacT\Desktop\samp03asvr_R8_win32\gamemodes\KingsGame6.pwn(4254) : error 004: function "SaveStuff" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

Балин вот ... Емаё bad bad Может посмотришь в модэ ? Плз


Skype: orang_exact
Форум SAMP о мультиплеерах для GTA. » Популярные моды » The Godfather » Работа наркофермера
  • Страница 1 из 5
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Поиск:





 


 


 
Хостинг от uCoz samp.at.ua