Jump to content

Cannot Master Key a BMP2


JerryAtricks

Recommended Posts

Hey guys!

 

I realize that the Master Key addon isn't an official part of the Epoch mod but I'm not sure where else to ask this.

 

It seems that every other vehicle on my server can have a master key made for it except the BMP2. Has anyone else experienced this and have a solution? I would greatly appreciate the help. 

 

Thanks!

 

JerryAtricks

 

ZedFarm - DayZ Epoch Server

192.111.147.37:2802

Link to comment
Share on other sites

  • 1 month later...

fn_selfActions.sqf

if (_isVehicle) then {
	if((typeOf _cursorTarget in ["2S6M_Tunguska","BMP2_HQ_CDF","BMP2_HQ_INS","BMP2_HQ_TK_EP1"]) and (player distance _cursorTarget <= 6.5)) then {
		if (s_player_use_tunguska < 0) then {
			s_player_use_tunguska = player addAction [("<t color='#5882FA'>")+("Поднятся на верх")+("</t>"), "scripts\craft\LiftUp.sqf",_cursorTarget, -25, true, true, "", ""];
		};
		} else {
		player removeAction s_player_use_tunguska;
		s_player_use_tunguska = -1;
	};
};

scripts\craft\LiftUp.sqf

 //               F507DMT //***// GoldKey 					//
//http://goldkey-dz.ru/  //***// https://vk.com/goldkey_dz //
private ["_vehicle","_object"];
_vehicle = _this select 3; 

if (typeOf _vehicle in ["2S6M_Tunguska"]) then {
	player attachto [_vehicle,[0,1,-1]];
	uiSleep 0.5;
	detach  player;
} else {
	_object = "Paleta1" createVehicle position player;
	_object attachto [_vehicle,[0,-2.5,-3]];
	player attachto [_object,[0,0,0]];
	uiSleep 0.5;
	detach  player;
	detach  _object;
	uiSleep 15;
	deleteVehicle _object;
};

Link to comment
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
  • Advertisement
  • Discord

×
×
  • Create New...