Adds persistent action to player (which will also be available in vehicles and after respawn).
Remove action with CBA_fnc_removePlayerAction. Do not use standard BIS removeAction with these action indexes!
_actionArray | Array that defines the action, as used in addAction command [Array] |
Index of action if added. -1 if used on a dedicated server [Boolean]
_actionIndex = [["Teleport", "teleport.sqf"]] call CBA_fnc_addPlayerAction;
Sickboy