<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GuiAppendText</id>
	<title>GuiAppendText - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://g1r-mp.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GuiAppendText"/>
	<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GuiAppendText&amp;action=history"/>
	<updated>2026-08-05T04:55:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://g1r-mp.com/wiki/index.php?title=GuiAppendText&amp;diff=74&amp;oldid=prev</id>
		<title>QCherry: Automatyczna aktualizacja dokumentacji funkcji</title>
		<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GuiAppendText&amp;diff=74&amp;oldid=prev"/>
		<updated>2026-08-04T12:44:50Z</updated>

		<summary type="html">&lt;p&gt;Automatyczna aktualizacja dokumentacji funkcji&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- This page is generated automatically from the function definition: guiAppendText. --&amp;gt;&lt;br /&gt;
= guiAppendText =&lt;br /&gt;
Appends an escaped text entry to an RML element.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool guiAppendText(DocumentHandle document, string elementId, string text [, string className = &amp;quot;&amp;quot; [, string color = &amp;quot;&amp;quot;]])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Name !! Type !! Required !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;document&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;DocumentHandle&amp;lt;/code&amp;gt; || yes || The owning document.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;elementId&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || yes || The container element&amp;#039;s id attribute.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || yes || The text to append.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;className&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || no || An optional RCSS class for the created entry.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || no || An optional CSS-compatible text color.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
Returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; when the entry is appended; otherwise returns &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Append a colored system message to chat:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; line&amp;gt;&lt;br /&gt;
guiAppendText(chatDocument, &amp;quot;messages&amp;quot;, &amp;quot;Connected to the server&amp;quot;, &amp;quot;system&amp;quot;, &amp;quot;#9ad17b&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Available only in client-side resource scripts.&lt;br /&gt;
&lt;br /&gt;
[[Category:Client Functions]]&lt;br /&gt;
[[Category:GUI Functions]]&lt;/div&gt;</summary>
		<author><name>QCherry</name></author>
	</entry>
</feed>