dimon 32 Posted June 12, 2016 lock seats in the crew vehicles Parameters: 0. _this - default 1. - places that are blocked "driver" "gunner" "commander" - lock the commander is only allowed for var_restrictedVeh_commander "crew" - lock all equipment (incl. passengers allowed only for var_restrictedVeh_allcrew [0,1] - lock turrets ["cargo",2] - lock the passenger space with index 2 2. - "east"/"west"/"guer"/"civ"/"" - check the player on the side (optional) The examples run in the init vehicle: _=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander",weST] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander","east"] execvm "fnc_inCrew_a3.sqf"; _=[this,"driver","gunner","commander","east",[0,1],["cargo",3]] execvm "fnc_inCrew_a3.sqf"; GitHub Share this post Link to post Share on other sites
dimon 32 Posted June 16, 2016 fnc_A3inCrew_2 new version GitHub The examples run in the init vehicle: _=[this,"driver","gunner"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; _=[this,"driver","gunner"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; _=[this,"driver","gunner","commander"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; _=[this,"driver","gunner","commander"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; _=[this,"driver","gunner","commander","east"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; _=[this,"driver","gunner","commander","east",[0,1],["cargo",3]] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf"; Share this post Link to post Share on other sites