CBA_fnc_removePlayerAction

Description

Removes player action previously added with CBA_fnc_addPlayerAction.

Parameters

_actionIndexIndex of action to remove [Number]

Returns

True if removed.  False if a dedicated server or where the action was not defined [Boolean]

Example

actionIndex = [["Teleport", "teleport.sqf"]] call CBA_fnc_addPlayerAction;

// later

[actionIndex] call CBA_fnc_removePlayerAction;

Author

Sickboy

Adds persistent action to the player.
Close