Skip to content

Commit

Permalink
Fix header formatting, PTTUp/PTTDown
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Jul 3, 2024
1 parent 520768d commit 4b26562
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 18 additions & 18 deletions addons/sys_ws38/radio/fnc_handlePTTDown.sqf
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#include "..\script_component.hpp"
/*
* Author: ACRE2Team
* Function called when PTT key is pressed. The most important aspect is setting the PTTDown flag
* of the radio to true.
*
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "handlePTTDown" <STRING> (Unused)
* 2: Event data <ARRAY> (Unused)
* 3: Radio data <HASH> (Unused)
* 4: Remote <BOOL> (Unused)
*
* Return Value:
* true <BOOL>
*
* Example:
* ["ACRE_WS38_ID_1", "handlePTTDown", [], [], false] call acre_sys_ws38_fnc_handlePTTDown
*
* Public: No
* Author: ACRE2Team
* Function called when PTT key is pressed. The most important aspect is setting the PTTDown flag
* of the radio to true.
*
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "handlePTTDown" <STRING> (Unused)
* 2: Event data <ARRAY> (Unused)
* 3: Radio data <HASH> (Unused)
* 4: Remote <BOOL> (Unused)
*
* Return Value:
* true <BOOL>
*
* Example:
* ["ACRE_WS38_ID_1", "handlePTTDown", [], [], false] call acre_sys_ws38_fnc_handlePTTDown
*
* Public: No
*/

params ["_radioId", "", "", "", ""];
Expand Down
36 changes: 18 additions & 18 deletions addons/sys_ws38/radio/fnc_handlePTTUp.sqf
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#include "..\script_component.hpp"
/*
* Author: ACRE2Team
* Function called when PTT key is released. The most important aspect is setting the PTTDown flag
* of the radio to false.
*
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "handlePTTUp" <STRING> (Unused)
* 2: Event data <ARRAY> (Unused)
* 3: Radio data <HASH> (Unused)
* 4: Remote <BOOL> (Unused)
*
* Return Value:
* true <BOOL>
*
* Example:
* ["ACRE_WS38_ID_1", "handlePTTUp", [], [], false] call acre_sys_ws38_fnc_handlePTTUp
*
* Public: No
* Author: ACRE2Team
* Function called when PTT key is released. The most important aspect is setting the PTTDown flag
* of the radio to false.
*
* Arguments:
* 0: Radio ID <STRING>
* 1: Event: "handlePTTUp" <STRING> (Unused)
* 2: Event data <ARRAY> (Unused)
* 3: Radio data <HASH> (Unused)
* 4: Remote <BOOL> (Unused)
*
* Return Value:
* true <BOOL>
*
* Example:
* ["ACRE_WS38_ID_1", "handlePTTUp", [], [], false] call acre_sys_ws38_fnc_handlePTTUp
*
* Public: No
*/

params ["_radioId", "", "", "", ""];
Expand Down

0 comments on commit 4b26562

Please sign in to comment.