<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.taskPlayAnimNonInterruptable</id>
	<title>natives.taskPlayAnimNonInterruptable - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=natives.taskPlayAnimNonInterruptable"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.taskPlayAnimNonInterruptable&amp;action=history"/>
	<updated>2026-04-20T04:48:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=natives.taskPlayAnimNonInterruptable&amp;diff=11341&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.taskPlayAnimNonInterruptable |parameters = object ped, string animName, string animGroup, float speed, int flag1, int flag2, int flag3, int flag4, int unknown |parameter1 = object ped The handle of the ped |parameter2 = string animName The animation&#039;s name (e.g. &quot;crim_searched&quot;) |parameter3 = string animGroup The animation set/group name (e.g. &quot;cop&quot;) |parameter4 = float speed Playback speed mult...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.taskPlayAnimNonInterruptable&amp;diff=11341&amp;oldid=prev"/>
		<updated>2025-12-17T04:05:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.taskPlayAnimNonInterruptable |parameters = object ped, string animName, string animGroup, float speed, int flag1, int flag2, int flag3, int flag4, int unknown |parameter1 = object ped The handle of the ped |parameter2 = string animName The animation&amp;#039;s name (e.g. &amp;quot;crim_searched&amp;quot;) |parameter3 = string animGroup The animation set/group name (e.g. &amp;quot;cop&amp;quot;) |parameter4 = float speed Playback speed mult...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem&lt;br /&gt;
|endpoint = client&lt;br /&gt;
|games = iv&lt;br /&gt;
|type = function&lt;br /&gt;
|name = natives.taskPlayAnimNonInterruptable&lt;br /&gt;
|parameters = object ped, string animName, string animGroup, float speed, int flag1, int flag2, int flag3, int flag4, int unknown&lt;br /&gt;
|parameter1 = object ped The handle of the ped&lt;br /&gt;
|parameter2 = string animName The animation&amp;#039;s name (e.g. &amp;quot;crim_searched&amp;quot;)&lt;br /&gt;
|parameter3 = string animGroup The animation set/group name (e.g. &amp;quot;cop&amp;quot;)&lt;br /&gt;
|parameter4 = float speed Playback speed multiplier&lt;br /&gt;
|parameter5 = int flag1 First animation flag&lt;br /&gt;
|parameter6 = int flag2 Second animation flag&lt;br /&gt;
|parameter7 = int flag3 Third animation flag&lt;br /&gt;
|parameter8 = int flag4 Fourth animation flag&lt;br /&gt;
|parameter9 = int unknown Always -1&lt;br /&gt;
|usage = Play a non-interruptable animation on a ped&lt;br /&gt;
|notes =&lt;br /&gt;
* **Flag 1** – Loops the animation infinitely.&lt;br /&gt;
* **Flag 2** – Loops the animation infinitely, disables player movement but not player control.&lt;br /&gt;
* **Flag 3** – If set to false (0), the player is returned to their old coordinate once the animation is complete (for animations that move the player such as walking). True (1) will not return them to their old position.&lt;br /&gt;
* **Flag 4** – Freezes the last frame of the animation.&lt;br /&gt;
|return1 = void&lt;br /&gt;
|exampleJS = addCommandHandler(&amp;quot;cuffanim&amp;quot;, function(command, params, client) {&lt;br /&gt;
    natives.requestAnims(&amp;quot;cop&amp;quot;);&lt;br /&gt;
    natives.taskPlayAnimNonInterruptable(localPlayer, &amp;quot;crim_searched&amp;quot;, &amp;quot;cop&amp;quot;, 8.0, 0, 0, 0, 1, -1);&lt;br /&gt;
});&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>