Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
Jdinovich

тягач

Добрый день,немогу найти куда вписать строчку о том,чтобы тягач,а именно ["TowingTractor"] мог цеплять только самолеты к себе. сцепка техники стоит у меня BTC logistic.

init.sqf который лежит в первой папке https://pastebin.com/PrH1bPc0
liftinit.sqf который лежит в папке lift https://pastebin.com/gFCBDFmk

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

BTC logistic это вроде лифтинг

нужно чтоб товинг трактор поднимал самолеты? а товинг трактор летает?

Share this post


Link to post
Share on other sites



  • 0

смотря что юзаешь

логистиг или mf-tow

Share this post


Link to post
Share on other sites
  • 0

lockdog нету,а если начинаю добавлять товинг трактор,то пропадает вообще сцепка,может как-то не правильно прописывал.Как правильно?

https://pastebin.com/xKgLbZDa вот инит

Share this post


Link to post
Share on other sites
  • 0

у тебя в 34 строке касяг)  case "Tractor":  {_array = spisok3;};  case "Tractor":  {_array = _spisok3;};  найдешь три отличия?

 

 

с трактором case "towingtactor":  {_array = _spisok1;};

вот имя и код: classname: TowingTractor  display name: Towing Tractor (вдруг тебя в гугле забанили)

Edited by lockdog (see edit history)

Share this post


Link to post
Share on other sites
  • 0

lockdog 

Цитата

case "Tractor":  {_array = spisok3;};  case "Tractor":  {_array = _spisok3;}"

нашел только 1 отличие

 

Цитата

с трактором case "towingtactor":  {_array = _spisok1;};

так и надо прописывать или ты забыл букву r?

Share this post


Link to post
Share on other sites
  • 0

да так и надо. кроме слов "с трактором "

Share this post


Link to post
Share on other sites
  • 0

lockdog 

MF_Tow_Towable_Array =
{
    private ["_array","_towTruck","_spisok3","_spisok2","_spisok1",];
    _towTruck = _this select 0;
	_array = [];
	_spisok1 = ["LandVehicle","Truck","Wheeled_APC","Tracked_APC","Air"];
	_spisok2 = ["Car","Truck"];
	_spisok3 = ["Car"];
        	switch (typeOf _towTruck) do
	{
case "towingtractor":  {_array = _spisok1;};
case "Tractor":  {_array = _spisok3;};
case "car_sedan":  {_array = _spisok3;};
case "policecar":  {_array = _spisok3;};

все равно не появляется менюшка "прицепить"

Share this post


Link to post
Share on other sites
  • 0

lockdog в упор стоит тягач и сзади него самолет или вертолет

 

Share this post


Link to post
Share on other sites
  • 0

lockdog может вместо тягача что-то другое сделать,я пробовал трактор поменять список 3 на список 1 но тоже ничего не вышло

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.