#include "..\script_component.hpp" /* * Function: dragonfly_db_fnc_setup * Author: Creedcoder, J.Schmidt * Edit: 07.15.2024 * * [Description] * Setup extension connection settings. * * Arguments: * 0: Name of host (default: "localhost") * 1: Port of host (default: 6379) * 2: Password of host (default: "") * * Return Value: * N/A * * Examples: * ["localhost", 6379, "xyz123"] call dragonfly_db_fnc_setup (Server or Singleplayer Only) * ["localhost", 6379, "xyz123"] remoteExecCall ["dragonfly_db_fnc_setup", 2, false] (Multiplayer Only) * * Public: Yes */ params [["_host", "localhost", [""]], ["_port", 6379, [0]], ["_password", "", [""]]]; "ArmaDragonflyClient" callExtension ["setup", [_host, _port, _password]];