Arma 3 Scripting

Function in Respawn

BIS_fnc_showRespawnMenuDisableItem

Also available as Markdown and JSON, or read the original wiki page.

Description

Disables respawn loadout, role or position for Arma 3: Respawn.

Syntax

[mode, uiControl, listboxItem, message, respawnReference] call BIS_fnc_showRespawnMenuDisableItem

Parameters:

Returns: Nothing

Examples

Example 1

[
    "disable",
    uiNamespace getVariable "BIS_RscRespawnControlsMap_ctrlLocList",
    2,
    "Restricted for this part of mission!",
    myRespawnModule call BIS_fnc_objectVar
] call BIS_fnc_showRespawnMenuDisableItem;

See also

BIS_fnc_addRespawnInventory · BIS_fnc_addRespawnPosition · Arma 3: Respawn