Skip to main content

IS_PLAYER_TARGETTING_OBJECT

Game.IsPlayerTargettingObjectHash0x679934F9
Usage
local isPlayerTargettingObject = Game.IsPlayerTargettingObject(playerIndex, objectIndex)

Returns TRUE if the player is pointing his weapon at the specified object.

Parameters

  • playerIndexintegerint
  • objectIndexintegerint

Returns

  • isPlayerTargettingObjectbooleanreturn value
Original declaration
// 0x679934F9
bool IS_PLAYER_TARGETTING_OBJECT(int playerIndex, int objectIndex);