<?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=GetAiNavigationBlockers</id>
	<title>GetAiNavigationBlockers - 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=GetAiNavigationBlockers"/>
	<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GetAiNavigationBlockers&amp;action=history"/>
	<updated>2026-09-19T06:31:17Z</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=GetAiNavigationBlockers&amp;diff=752&amp;oldid=prev</id>
		<title>QCherry: Document G1R:MP 0.1.2 navigation collision API</title>
		<link rel="alternate" type="text/html" href="https://g1r-mp.com/wiki/index.php?title=GetAiNavigationBlockers&amp;diff=752&amp;oldid=prev"/>
		<updated>2026-09-04T13:52:30Z</updated>

		<summary type="html">&lt;p&gt;Document G1R:MP 0.1.2 navigation collision API&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= getAiNavigationBlockers =&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.2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#111111; margin-top:0.25rem;&amp;quot;&amp;gt;This function is available in G1R:MP 0.1.2 and later. The contract below includes the compatibility guarantees introduced in that update.&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lists every navigation blocker owned by the calling resource.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table getAiNavigationBlockers()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
This function does not accept parameters.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
Returns a deterministic ID-sorted array of canonical blocker tables. The array is empty when the resource owns no blockers.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Disable every blocker owned by the current resource:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot; line&amp;gt;&lt;br /&gt;
for _, blocker in ipairs(getAiNavigationBlockers()) do&lt;br /&gt;
    setAiNavigationBlockerEnabled(blocker.id, false)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Available only in server-side resource scripts.&lt;br /&gt;
* Each entry has the same fields as &amp;lt;code&amp;gt;getAiNavigationBlockerData&amp;lt;/code&amp;gt;, including disabled blockers.&lt;br /&gt;
* Ownership isolation means the list never exposes blockers created by another resource.&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua Functions]]&lt;br /&gt;
[[Category:Server Functions]]&lt;br /&gt;
[[Category:World Functions]]&lt;br /&gt;
[[Category:Navigation Functions]]&lt;/div&gt;</summary>
		<author><name>QCherry</name></author>
	</entry>
</feed>