ACE3/addons/markers/functions/fnc_onCheckedChangedTimestamp.sqf
commy2 50578a2463
Fix Multiple Issues With Timestamps (#8034)
* Fix Multiple Issues With Timestamps

* simplify

* improve parsing of timestamps

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-02-27 00:17:00 +01:00

21 lines
390 B
Plaintext

#include "script_component.hpp"
/*
* Author: Freddo, commy2
* When the timestamp checkbox is toggled.
*
* Arguments:
* 0: Checkbox <CONTROL>
* 1: Value <NUMBER>
*
* Return Value:
* None
*
* Example:
* [controlNull, 1] call ACE_markers_fnc_onCheckedChangedTimestamp;
*
* Public: No
*/
params ["", "_checked"];
uiNamespace setVariable [QGVAR(timestampChecked), _checked == 1]