Files
MissionTemplate/framework/init/functions/fn_addAARChatHandler.sqf

20 lines
328 B
Plaintext

#include "..\script_component.hpp"
if (!hasInterface) exitWith {};
[
"saveaar",
{
[] remoteExec["ocap_fnc_exportData", 2];
},
"admin"
] call CBA_fnc_registerChatCommand;
[
LEVEL_INFO,
QUOTE(COMPONENT),
"OCAP chat handler registered",
[player] call EFUNC(common,addPlayerInfoToArray)
] call EFUNC(common,log);
nil;