Player::isFreeAimingAtEntity: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
Line 1: Line 1:
Gets a value indicating whether the specified player is currently aiming freely at the specified entity.
Gets a value indicating whether the specified player is currently aiming freely at the specified entity.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.player.isPlayerFreeAimingAtEntity(entity);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.isFreeAimingAtEntity(entity.handle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''entity:''' Entity handle or object
*'''entity:''' Entity handle
===Return value===
===Return value===
*'''Boolean'''
*'''Boolean'''

Revision as of 19:32, 18 February 2020

Gets a value indicating whether the specified player is currently aiming freely at the specified entity.

Syntax

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

Required Arguments

  • entity: Entity handle

Return value

  • Boolean

Example

// todo

See also