Description
Remove an item from the communication menu.
Syntax
[owner,itemID] call BIS_fnc_removeCommMenuItem
Parameters:
- owner: Object - object to which the item belongs to
- itemID: Number - item ID returned by BIS_fnc_addCommMenuItem command
Returns: Boolean - true when the item was removed
Examples
Example 1
[player, 2] call BIS_fnc_removeCommMenuItem;
Example 2
private _supportHeli = [player, "Support_Request_CAS_Heli"] call BIS_fnc_addCommMenuItem;
[player, _supportHeli] call BIS_fnc_removeCommMenuItem;