Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define NO_PLANK_CLASSES ["VC","VG","VD","P"]
- adm_hc_defaultNames = ["HC", "HeadlessClient"];
- call compile preProcessFileLineNumbers "admiral\admiral_init.sqf";
- call compile preprocessFileLineNumbers "plank\plank_init.sqf";
- private "_gearClass";
- _gearClass = player getVariable "hull3_gear_class";
- if (!(_gearClass in NO_PLANK_CLASSES)) then
- {
- [player, [6]] call plank_api_fnc_forceAddFortifications; // Assign only if NOT one of the IFV or Pilot units
- };
- waitUntil
- {
- sleep 1;
- [] call hull3_mission_fnc_hasSafetyTimerEnded;
- };
- [player] call plank_delpoy_fnc_forceRemoveAllFortifications;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement