top of page

REMOVE SAVE/LOAD FROM VIRTUAL BOXES

To remove SAVE/LOAD options from virtual boxes, do following steps :

​

Make initPlayerLocal.sqf file and place inside :

​

[ missionNamespace, "arsenalOpened", {

    disableSerialization;

    _display = _this select 0;

    {

        ( _display displayCtrl _x ) ctrlSetText "Disabled";

        ( _display displayCtrl _x ) ctrlSetTextColor [ 1, 0, 0, 0.5 ];

        ( _display displayCtrl _x ) ctrlRemoveAllEventHandlers "buttonclick";

    }forEach [ 44146, 44147 ];

} ] call BIS_fnc_addScriptedEventHandler;

​

​

Save your map and export in MPmissions

​

​

bottom of page