<?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=ShowAreaNotification</id>
	<title>ShowAreaNotification - 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=ShowAreaNotification"/>
	<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=ShowAreaNotification&amp;action=history"/>
	<updated>2026-09-30T01:20:56Z</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=ShowAreaNotification&amp;diff=1121&amp;oldid=prev</id>
		<title>QCherry: Document upcoming 0.1.6: area notification Lua API, door and pickup improvements; not a release</title>
		<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=ShowAreaNotification&amp;diff=1121&amp;oldid=prev"/>
		<updated>2026-09-26T22:22:28Z</updated>

		<summary type="html">&lt;p&gt;Document upcoming 0.1.6: area notification Lua API, door and pickup improvements; not a release&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= ShowAreaNotification =&lt;br /&gt;
&amp;lt;div style=&amp;quot;background:#fff5f5; border:1px solid #d13b3b; border-left:5px solid #d13b3b; color:#111111; padding:0.85rem 1rem; margin:0.75rem 0 1rem;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#111111; font-weight:bold; letter-spacing:0.04em;&amp;quot;&amp;gt;AVAILABLE FROM UPDATE 0.1.6&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#111111; margin-top:0.25rem;&amp;quot;&amp;gt;Upcoming 0.1.6: not yet publicly released and not included in public 0.1.5. This page documents the implemented API planned for that update.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Displays a passive, native-style area notification for one player, with independently customized heading and main title.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
ShowAreaNotification(playerId, heading, title [, durationMs])&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;playerId&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt; || yes || Connected numeric player ID; finite integer 1..4294967295. Call after the player character is available.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;heading&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || yes || Smaller heading, 0..256 UTF-8 bytes; may be empty.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || yes || Main area name, 1..512 UTF-8 bytes.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;durationMs&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt; || no || Finite integer 1000..30000 milliseconds, including fades. Omit for 5000 ms; explicit nil is invalid.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
true when the server accepts the request for delivery; false for invalid arguments, unavailable players or rejected requests. Not a client rendering acknowledgement.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; line&amp;gt;&lt;br /&gt;
ShowAreaNotification(playerId, &amp;quot;Entering territory&amp;quot;, &amp;quot;Bandit Camp&amp;quot;, 5000)&lt;br /&gt;
ShowAreaNotification(playerId, &amp;quot;Wkraczasz na teren&amp;quot;, &amp;quot;Stary Obóz — Старий табір&amp;quot;, 7000)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Upcoming 0.1.6; not included in public 0.1.5. Server-side only. Lower-camel alias: showAreaNotification.&lt;br /&gt;
* The latest show replaces the previous custom area banner and becomes its resource owner. One banner per player. Use HideAreaNotification from the same resource to hide early.&lt;br /&gt;
* Valid UTF-8 plain text only; no NUL, control characters or newlines. Polish characters and Cyrillic were confirmed in testing; font glyph coverage still applies.&lt;br /&gt;
* No input capture or changes to chapters, quests, discovery records, collision or streaming. No automatic database storage or late-join replay.&lt;br /&gt;
* See [[Area notifications]] for ownership, cleanup, duration semantics and bounded queues; see [[Update 0.1.6]] for availability.&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua Functions]]&lt;br /&gt;
[[Category:Server Functions]]&lt;br /&gt;
[[Category:GUI Functions]]&lt;br /&gt;
[[Category:Player Functions]]&lt;/div&gt;</summary>
		<author><name>QCherry</name></author>
	</entry>
</feed>