<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AtaskArrest</id>
	<title>Player::taskArrest - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AtaskArrest"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::taskArrest&amp;action=history"/>
	<updated>2026-06-04T16:31:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::taskArrest&amp;diff=3823&amp;oldid=prev</id>
		<title>Marty uploader: yay</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::taskArrest&amp;diff=3823&amp;oldid=prev"/>
		<updated>2017-05-06T23:41:07Z</updated>

		<summary type="html">&lt;p&gt;yay&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Example from &amp;#039;me_amanda1.ysc.c4&amp;#039;:&amp;lt;br&amp;gt;Player::TASK_ARREST_PED(l_19F /* This is a Ped */ , PLAYER::PLAYER_Player_ID());&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Example from &amp;#039;armenian1.ysc.c4&amp;#039;:&amp;lt;br&amp;gt;if (!Player::IS_Player_INJURED(l_B18[0/*1*/])) {&amp;lt;br&amp;gt;    Player::TASK_ARREST_PED(l_B18[0/*1*/], PLAYER::PLAYER_Player_ID());&amp;lt;br&amp;gt;}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;I would love to have time to experiment to see if a player Ped can arrest another player. Might make for a good cop mod.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Looks like only the player can be arrested this way. Peds react and try to arrest you if you task them, but the player charater doesn&amp;#039;t do anything if tasked to arrest another player.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;player.taskArrest(target);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;target:&amp;#039;&amp;#039;&amp;#039; Ped handle or object&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Marty uploader</name></author>
	</entry>
</feed>