mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
afb3dad22b
* Add timestamps to markers * Tiny tweaks * Update addons/markers/functions/fnc_canTimestamp.sqf Co-authored-by: Brett <brett@bmandesigns.com> * Update addons/markers/functions/fnc_initInsertMarker.sqf Co-authored-by: Brett <brett@bmandesigns.com> * Add timestamp format setting * Script cleanup, move checkbox under desc * Fix stringtable validation * Tweaks * Remove styling from stringtable * Edit timestamps instead of append Credits to @PabstMirror Co-authored-by: Brett <brett@bmandesigns.com>
24 lines
423 B
Plaintext
24 lines
423 B
Plaintext
#include "script_component.hpp"
|
|
#include "\a3\ui_f\hpp\defineResincl.inc"
|
|
/*
|
|
* Author: Freddo
|
|
* When the timestamp checkbox is toggled
|
|
*
|
|
* Arguments:
|
|
* 0: Checkbox <CONTROL>
|
|
* 1: Value <NUMBER>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [_cbTimestamp,1] call ACE_markers_fnc_onCheckedChangedTimestamp
|
|
*
|
|
* Public: No
|
|
*/
|
|
params ["_cbTimestamp", "_checked"];
|
|
|
|
SETUVAR(GVAR(timestampChecked),(_checked == 1));
|
|
|
|
nil
|