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