Player::isTargettingEntity: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.isPlayerTargettingEntity(entity);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.isTargettingEntity(entity.handle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''entity:''' Entity handle or object
*'''entity:''' Entity handle
===Return value===
===Return value===
*'''Boolean'''
*'''Boolean'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 19:36, 18 February 2020

Syntax

mp.game.player.isTargettingEntity(entity.handle);

Required Arguments

  • entity: Entity handle

Return value

  • Boolean

Example

// todo

See also