// Allows engineers to lock their repair vehicles
_vec = _this select 0;
_ver = _this select 3;
_vec removeaction EGG_EVO_elock;

if(_ver == 0) then
{
	EGG_EVO_elock = _vec addaction [("<t color='#4169e1'>" + "#Unlock Truck" + "</t>"), "actions\englock.sqf",1,1, false, true,"test2"];
	_vec lock true;
};
if(_ver == 1) then
{	
	EGG_EVO_elock = _vec addaction [("<t color='#4169e1'>" + "#" + localize "STR_M04t54" + "</t>"), "actions\englock.sqf",0,1, false, true,"test2"];
	_vec lock false;
};
