Skip to content

Commit 18889d9

Browse files
Mike-MFSpartan190
authored andcommitted
Fix header formatting, PTTUp/PTTDown
1 parent 28254ab commit 18889d9

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

addons/sys_ws38/radio/fnc_handlePTTDown.sqf

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
#include "..\script_component.hpp"
22
/*
3-
* Author: ACRE2Team
4-
* Function called when PTT key is pressed. The most important aspect is setting the PTTDown flag
5-
* of the radio to true.
6-
*
7-
* Arguments:
8-
* 0: Radio ID <STRING>
9-
* 1: Event: "handlePTTDown" <STRING> (Unused)
10-
* 2: Event data <ARRAY> (Unused)
11-
* 3: Radio data <HASH> (Unused)
12-
* 4: Remote <BOOL> (Unused)
13-
*
14-
* Return Value:
15-
* true <BOOL>
16-
*
17-
* Example:
18-
* ["ACRE_WS38_ID_1", "handlePTTDown", [], [], false] call acre_sys_ws38_fnc_handlePTTDown
19-
*
20-
* Public: No
3+
* Author: ACRE2Team
4+
* Function called when PTT key is pressed. The most important aspect is setting the PTTDown flag
5+
* of the radio to true.
6+
*
7+
* Arguments:
8+
* 0: Radio ID <STRING>
9+
* 1: Event: "handlePTTDown" <STRING> (Unused)
10+
* 2: Event data <ARRAY> (Unused)
11+
* 3: Radio data <HASH> (Unused)
12+
* 4: Remote <BOOL> (Unused)
13+
*
14+
* Return Value:
15+
* true <BOOL>
16+
*
17+
* Example:
18+
* ["ACRE_WS38_ID_1", "handlePTTDown", [], [], false] call acre_sys_ws38_fnc_handlePTTDown
19+
*
20+
* Public: No
2121
*/
2222

2323
params ["_radioId", "", "", "", ""];

addons/sys_ws38/radio/fnc_handlePTTUp.sqf

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
#include "..\script_component.hpp"
22
/*
3-
* Author: ACRE2Team
4-
* Function called when PTT key is released. The most important aspect is setting the PTTDown flag
5-
* of the radio to false.
6-
*
7-
* Arguments:
8-
* 0: Radio ID <STRING>
9-
* 1: Event: "handlePTTUp" <STRING> (Unused)
10-
* 2: Event data <ARRAY> (Unused)
11-
* 3: Radio data <HASH> (Unused)
12-
* 4: Remote <BOOL> (Unused)
13-
*
14-
* Return Value:
15-
* true <BOOL>
16-
*
17-
* Example:
18-
* ["ACRE_WS38_ID_1", "handlePTTUp", [], [], false] call acre_sys_ws38_fnc_handlePTTUp
19-
*
20-
* Public: No
3+
* Author: ACRE2Team
4+
* Function called when PTT key is released. The most important aspect is setting the PTTDown flag
5+
* of the radio to false.
6+
*
7+
* Arguments:
8+
* 0: Radio ID <STRING>
9+
* 1: Event: "handlePTTUp" <STRING> (Unused)
10+
* 2: Event data <ARRAY> (Unused)
11+
* 3: Radio data <HASH> (Unused)
12+
* 4: Remote <BOOL> (Unused)
13+
*
14+
* Return Value:
15+
* true <BOOL>
16+
*
17+
* Example:
18+
* ["ACRE_WS38_ID_1", "handlePTTUp", [], [], false] call acre_sys_ws38_fnc_handlePTTUp
19+
*
20+
* Public: No
2121
*/
2222

2323
params ["_radioId", "", "", "", ""];

0 commit comments

Comments
 (0)