<?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%3AtaskDriveBy</id>
	<title>Player::taskDriveBy - 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%3AtaskDriveBy"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::taskDriveBy&amp;action=history"/>
	<updated>2026-06-05T07:35:12Z</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::taskDriveBy&amp;diff=3695&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::taskDriveBy&amp;diff=3695&amp;oldid=prev"/>
		<updated>2017-05-06T23:39:52Z</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:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Player::TASK_DRIVE_BY(l_467[1/*22*/], PLAYER::PLAYER_Player_ID(), 0, 0.0, 0.0, 2.0, 300.0, 100, 0, ${firing_pattern_burst_fire_driveby});&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Needs working example. Doesn&amp;#039;t seem to do anything.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;I marked p2 as targetVehicle as all these shooting related tasks seem to have that in common.&amp;lt;br&amp;gt;I marked p6 as distanceToShoot as if you think of GTA&amp;#039;s Logic with the native SET_VEHICLE_SHOOT natives, it won&amp;#039;t shoot till it gets within a certain distance of the target.&amp;lt;br&amp;gt;I marked p7 as pedAccuracy as it seems it&amp;#039;s mostly 100 (Completely Accurate), 75, 90, etc. Although this could be the ammo count within the gun, but I highly doubt it. I will change this comment once I find out if it&amp;#039;s ammo count or not.&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;player.taskDriveBy(targetPed, p2, targetX, targetY, targetZ, p6, p7, p8, firingPattern);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetPed:&amp;#039;&amp;#039;&amp;#039; Ped handle or object&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p2:&amp;#039;&amp;#039;&amp;#039; unknown (to be checked)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetX:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetY:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;targetZ:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p6:&amp;#039;&amp;#039;&amp;#039; float&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p7:&amp;#039;&amp;#039;&amp;#039; unknown (to be checked)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;p8:&amp;#039;&amp;#039;&amp;#039; Boolean&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;firingPattern:&amp;#039;&amp;#039;&amp;#039; Model hash or name&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>