Skip to main content

IS_PLAYER_TARGETTING_CHAR

Game.IsPlayerTargettingCharHash0x58A6457C
Usage
local isPlayerTargettingChar = Game.IsPlayerTargettingChar(playerIndex, charIndex)

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

Parameters

  • playerIndexintegerint
  • charIndexintegerint

Returns

  • isPlayerTargettingCharbooleanreturn value
Original declaration
// 0x58A6457C
bool IS_PLAYER_TARGETTING_CHAR(int playerIndex, int charIndex);