<?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.isPlayerTargettingChar</id>
	<title>natives.isPlayerTargettingChar - 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.isPlayerTargettingChar"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.isPlayerTargettingChar&amp;action=history"/>
	<updated>2026-05-01T11:56:31Z</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.isPlayerTargettingChar&amp;diff=11308&amp;oldid=prev</id>
		<title>ChrisGame20: Created page with &quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.isPlayerTargettingChar |parameters = int playerId, int ped |parameter1 = int playerId The local or network player ID |parameter2 = int ped The ped handle to check against |usage = Returns whether the specified player is hard-lock targeting the given ped. |notes = - Complements natives.isPlayerFreeAimingAtChar to cover both aim states - Typically polled inside OnDrawnHUD or OnProcess...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=natives.isPlayerTargettingChar&amp;diff=11308&amp;oldid=prev"/>
		<updated>2025-12-04T00:10:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.isPlayerTargettingChar |parameters = int playerId, int ped |parameter1 = int playerId The local or network player ID |parameter2 = int ped The ped handle to check against |usage = Returns whether the specified player is hard-lock targeting the given ped. |notes = - Complements &lt;a href=&quot;/natives.isPlayerFreeAimingAtChar&quot; title=&quot;natives.isPlayerFreeAimingAtChar&quot;&gt;natives.isPlayerFreeAimingAtChar&lt;/a&gt; to cover both aim states - Typically polled inside &lt;a href=&quot;/OnDrawnHUD&quot; title=&quot;OnDrawnHUD&quot;&gt;OnDrawnHUD&lt;/a&gt; or &lt;a href=&quot;/OnProcess&quot; title=&quot;OnProcess&quot;&gt;OnProcess&lt;/a&gt;...&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.isPlayerTargettingChar&lt;br /&gt;
|parameters = int playerId, int ped&lt;br /&gt;
|parameter1 = int playerId The local or network player ID&lt;br /&gt;
|parameter2 = int ped The ped handle to check against&lt;br /&gt;
|usage = Returns whether the specified player is hard-lock targeting the given ped.&lt;br /&gt;
|notes =&lt;br /&gt;
- Complements [[natives.isPlayerFreeAimingAtChar]] to cover both aim states&lt;br /&gt;
- Typically polled inside [[OnDrawnHUD]] or [[OnProcess]] for real-time detection&lt;br /&gt;
|return1 = bool True if the player is targeting the ped, false otherwise&lt;br /&gt;
|returnFail1 = bool False on failure or when not targeting&lt;br /&gt;
|exampleJS = natives.isPlayerTargettingChar(localPlayer.index, ped);&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>ChrisGame20</name></author>
	</entry>
</feed>