RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. IS_PLAYER_TARGETTING_ENTITY

IS_PLAYER_TARGETTING_ENTITY

p2 will return true if player is targetting entity with a weapon if false will return true if player is targetting entity without a weapon

PLAYERBuild 1207

Signature

lua
IsPlayerTargettingEntity(PlayerId(), entity, true)
-- returns BOOL

Parameters

NameTypeDescription
Player—
Entity—
BOOL—

Usage

lua
IsPlayerTargettingEntity(PlayerId(), entity, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details