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 BOOLParameters
| Name | Type | Description |
|---|---|---|
| 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
