<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_md_docs_2core_2print_addon_name" xml:lang="en-US">
<title>printAddonName</title>
<indexterm><primary>printAddonName</primary></indexterm>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md120">
<title>autotoc_md120</title>
<para>title: ArmaRAMDb - Print Addon Name icon: mdi:file-text-outline </para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md121">
<title>excerpt: Displays the addon name in system chat.</title></section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md122">
<title>ramdb_db_fnc_printAddonName</title><section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md123">
<title>Description</title>
<para>Displays a thank you message with the addon name in the system chat. This is a simple utility function that can be used to acknowledge the use of the framework or to verify that the addon is properly loaded.</para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md124">
<title>Syntax</title>
<para><literallayout><computeroutput>[]&#32;call&#32;ramdb_db_fnc_printAddonName
</computeroutput></literallayout></para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md125">
<title>Parameters</title>
<para>None. This function does not require any parameters.</para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md126">
<title>Return Value</title>
<para>None. The function outputs a message to the system chat.</para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md127">
<title>Examples</title><section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md128">
<title>Display the addon name message:</title>
<para><literallayout><computeroutput>[]&#32;call&#32;ramdb_db_fnc_printAddonName;
</computeroutput></literallayout></para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md129">
<title>Use in a welcome script:</title>
<para><literallayout><computeroutput>if&#32;(isServer)&#32;then&#32;{
&#32;&#32;&#32;&#32;[]&#32;remoteExec&#32;[&quot;ramdb_db_fnc_printAddonName&quot;,&#32;0,&#32;true];
};
</computeroutput></literallayout></para>
</section>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md130">
<title>Notes</title>
<para><itemizedlist>
<listitem>
<para>The function uses the ADDON macro defined in script_component.hpp</para>
</listitem><listitem>
<para>This displays a message directly in the player&apos;s system chat</para>
</listitem><listitem>
<para>Can be useful as a quick verification that the addon is loaded correctly</para>
</listitem><listitem>
<para>Often used during development or for first-time users</para>
</listitem></itemizedlist>
</para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md131">
<title>Related Functions</title>
<para><itemizedlist>
<listitem>
<para><computeroutput>ramdb_db_fnc_init</computeroutput>: Initializes the database system</para>
</listitem></itemizedlist>
</para>
</section>
<section xml:id="_md_docs_2core_2print_addon_name_1autotoc_md132">
<title>Links</title>
<para><link linkend="_md_docs_2core_2add_task">Add Task</link> | <link linkend="_md_docs_2core_2handler">Handler</link> | <link linkend="_md_docs_2core_2init">Init</link> | <link linkend="_md_docs_2core_2print_addon_name">Print Addon Name</link> | <link linkend="_md_docs_2core_2process_queue">Process Queue</link> | <link linkend="_md_docs_2core_2scheduler">Scheduler</link> | <link linkend="_md_docs_2core_2test">Test</link> </para>
</section>
</section>
</section>
