<?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%3AgetEntityIsFreeAimingAtRaw</id>
	<title>Player::getEntityIsFreeAimingAtRaw - 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%3AgetEntityIsFreeAimingAtRaw"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getEntityIsFreeAimingAtRaw&amp;action=history"/>
	<updated>2026-06-15T16:21:58Z</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::getEntityIsFreeAimingAtRaw&amp;diff=21788&amp;oldid=prev</id>
		<title>Shr0x: Created page with &quot;{{JSContainer| ==Syntax== &lt;syntaxhighlight lang=&quot;javascript&quot;&gt;mp.game.player.getEntityIsFreeAimingAtRaw();&lt;/syntaxhighlight&gt;  ===Return value=== *&#039;&#039;&#039;handle or undefined&#039;&#039;&#039;  ==Example== &lt;syntaxhighlight lang=&quot;javascript&quot;&gt;  const targetEntity = mp.game.player.getEntityIsFreeAimingAtRaw(); if (targetEntity) {     const ped = mp.peds.atHandle(targetEntity);     if (ped &amp;&amp; mp.peds.exists(ped)) {         mp.gui.chat.push(`You are aiming at ped id ${ped.id}`);     } } &lt;/syntaxhi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::getEntityIsFreeAimingAtRaw&amp;diff=21788&amp;oldid=prev"/>
		<updated>2024-04-23T09:06:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{JSContainer| ==Syntax== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.player.getEntityIsFreeAimingAtRaw();&amp;lt;/syntaxhighlight&amp;gt;  ===Return value=== *&amp;#039;&amp;#039;&amp;#039;handle or undefined&amp;#039;&amp;#039;&amp;#039;  ==Example== &amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;  const targetEntity = mp.game.player.getEntityIsFreeAimingAtRaw(); if (targetEntity) {     const ped = mp.peds.atHandle(targetEntity);     if (ped &amp;amp;&amp;amp; mp.peds.exists(ped)) {         mp.gui.chat.push(`You are aiming at ped id ${ped.id}`);     } } &amp;lt;/syntaxhi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{JSContainer|&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;mp.game.player.getEntityIsFreeAimingAtRaw();&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;handle or undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
const targetEntity = mp.game.player.getEntityIsFreeAimingAtRaw();&lt;br /&gt;
if (targetEntity) {&lt;br /&gt;
    const ped = mp.peds.atHandle(targetEntity);&lt;br /&gt;
    if (ped &amp;amp;&amp;amp; mp.peds.exists(ped)) {&lt;br /&gt;
        mp.gui.chat.push(`You are aiming at ped id ${ped.id}`);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_s_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Shr0x</name></author>
	</entry>
</feed>