mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 01:41:49 -06:00
- no longer supports server events - can now more easily build using hemtt - extension vastly improved in both structure and functionality - tested on listen server - includes schema change
21 lines
562 B
Plaintext
21 lines
562 B
Plaintext
params [
|
|
["_playerId", ""],
|
|
["_playerUID", ""],
|
|
["_profileName", ""],
|
|
["_steamName", ""],
|
|
["_isJIP", false, [true, false]],
|
|
["_roleDescription", ""]
|
|
];
|
|
|
|
private _hash = +(ATNamespace getVariable ["missionContext", createHashMap]);
|
|
|
|
_hash set ["playerId", _playerId];
|
|
_hash set ["playerUID", _playerUID];
|
|
_hash set ["profileName", _profileName];
|
|
_hash set ["steamName", _steamName];
|
|
_hash set ["isJIP", _isJIP];
|
|
_hash set ["roleDescription", _roleDescription];
|
|
|
|
"AttendanceTracker" callExtension [":LOG:PRESENCE:", [[_hash] call CBA_fnc_encodeJSON]];
|
|
|
|
true; |