# ENTITY Natives - Part 5 of 6
Red Dead Redemption 3 Native Functions Reference
**Namespace:** ENTITY
**Natives in this file:** 50
**Total natives in namespace:** 268
**Generated from:** RDR3natives JSON data
---
## _0xD21C7418C590BB40
| Property | Value |
|----------|-------|
| Native Name | `_0xD21C7418C590BB40` |
| Hash | `0xD21C7418C590BB40` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xD21C7418C590BB40(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xD21C7418C590BB40, p0)
```
---
## _0xD45BB89B53FC0CFD
| Property | Value |
|----------|-------|
| Native Name | `_0xD45BB89B53FC0CFD` |
| Hash | `0xD45BB89B53FC0CFD` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any), `p3` (Any), `p4` (Any), `p5` (Any), `p6` (Any), `p7` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
- **`p3`** (`Any`)
- **`p4`** (`Any`)
- **`p5`** (`Any`)
- **`p6`** (`Any`)
- **`p7`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xD45BB89B53FC0CFD(p0, p1, p2, p3, p4, p5, p6, p7)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xD45BB89B53FC0CFD, p0, p1, p2, p3, p4, p5, p6, p7)
```
---
## _0xD4636C2EDB0DEA8A
| Property | Value |
|----------|-------|
| Native Name | `_0xD4636C2EDB0DEA8A` |
| Hash | `0xD4636C2EDB0DEA8A` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xD4636C2EDB0DEA8A(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xD4636C2EDB0DEA8A, p0)
```
---
## _0xD46BF94C4C66FAB0
| Property | Value |
|----------|-------|
| Native Name | `_0xD46BF94C4C66FAB0` |
| Hash | `0xD46BF94C4C66FAB0` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any), `p3` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
- **`p3`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xD46BF94C4C66FAB0(p0, p1, p2, p3)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xD46BF94C4C66FAB0, p0, p1, p2, p3)
```
---
## _0xDD03FC2089AD093C
| Property | Value |
|----------|-------|
| Native Name | `_0xDD03FC2089AD093C` |
| Hash | `0xDD03FC2089AD093C` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any), `p3` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
- **`p3`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xDD03FC2089AD093C(p0, p1, p2, p3)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xDD03FC2089AD093C, p0, p1, p2, p3)
```
---
## _0xDF8E49EA89A01DB1
**Description:** Hardcoded to return zero/false.
| Property | Value |
|----------|-------|
| Native Name | `_0xDF8E49EA89A01DB1` |
| Hash | `0xDF8E49EA89A01DB1` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xDF8E49EA89A01DB1(p0, p1, p2)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xDF8E49EA89A01DB1, p0, p1, p2)
```
---
## _0xDFC2B226D56D85F6
| Property | Value |
|----------|-------|
| Native Name | `_0xDFC2B226D56D85F6` |
| Hash | `0xDFC2B226D56D85F6` |
| Return Type | `float` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xDFC2B226D56D85F6(p0, p1)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xDFC2B226D56D85F6, p0, p1)
```
---
## _0xE19035EB65AB2932
| Property | Value |
|----------|-------|
| Native Name | `_0xE19035EB65AB2932` |
| Hash | `0xE19035EB65AB2932` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xE19035EB65AB2932(p0, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE19035EB65AB2932, p0, p1)
```
---
## _0xE31FC20319874CB3
| Property | Value |
|----------|-------|
| Native Name | `_0xE31FC20319874CB3` |
| Hash | `0xE31FC20319874CB3` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xE31FC20319874CB3(p0, p1, p2)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xE31FC20319874CB3, p0, p1, p2)
```
---
## _0xE75EEA8DB59A9F39
| Property | Value |
|----------|-------|
| Native Name | `_0xE75EEA8DB59A9F39` |
| Hash | `0xE75EEA8DB59A9F39` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any), `p2` (Any), `p3` (Any), `p4` (Any), `p5` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
- **`p2`** (`Any`)
- **`p3`** (`Any`)
- **`p4`** (`Any`)
- **`p5`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xE75EEA8DB59A9F39(p0, p1, p2, p3, p4, p5)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE75EEA8DB59A9F39, p0, p1, p2, p3, p4, p5)
```
---
## _0xE9E7A0BAC7F57746
| Property | Value |
|----------|-------|
| Native Name | `_0xE9E7A0BAC7F57746` |
| Hash | `0xE9E7A0BAC7F57746` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any), `p1` (Any) |
### Parameters
- **`p0`** (`Any`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xE9E7A0BAC7F57746(p0, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xE9E7A0BAC7F57746, p0, p1)
```
---
## _0xEAB3D91D30A344F1
| Property | Value |
|----------|-------|
| Native Name | `_0xEAB3D91D30A344F1` |
| Hash | `0xEAB3D91D30A344F1` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xEAB3D91D30A344F1(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xEAB3D91D30A344F1, p0)
```
---
## _0xEF259AA1E097E0AD
| Property | Value |
|----------|-------|
| Native Name | `_0xEF259AA1E097E0AD` |
| Hash | `0xEF259AA1E097E0AD` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity), `p1` (Any) |
### Parameters
- **`entity`** (`Entity`)
- **`p1`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xEF259AA1E097E0AD(entity, p1)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xEF259AA1E097E0AD, entity, p1)
```
---
## _GET_ENTITY_LOOTING_PED
**Description:** Returns the entity that is looting a ped but only while the looting is active
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_LOOTING_PED` |
| Hash | `0xEF2D9ED7CE684F08` |
| Return Type | `Entity` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityLootingPed(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xEF2D9ED7CE684F08, entity)
```
---
## _0xF41E2979D5BC5370
| Property | Value |
|----------|-------|
| Native Name | `_0xF41E2979D5BC5370` |
| Hash | `0xF41E2979D5BC5370` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
_0xF41E2979D5BC5370(p0)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xF41E2979D5BC5370, p0)
```
---
## _0xF59FDE7B4D31A630
| Property | Value |
|----------|-------|
| Native Name | `_0xF59FDE7B4D31A630` |
| Hash | `0xF59FDE7B4D31A630` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = _0xF59FDE7B4D31A630(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xF59FDE7B4D31A630, p0)
```
---
## SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS
| Property | Value |
|----------|-------|
| Native Name | `SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS` |
| Hash | `0xFF83AF534156B399` |
| Return Type | `void` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `EntityIndex` (Entity), `bOnlyDamagedWhenRunningScript` (BOOL) |
### Parameters
- **`EntityIndex`** (`Entity`)
- **`bOnlyDamagedWhenRunningScript`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
SetEntityCanOnlyBeDamagedByScriptParticipants(EntityIndex, bOnlyDamagedWhenRunningScript)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xFF83AF534156B399, EntityIndex, bOnlyDamagedWhenRunningScript)
```
---
## _0xFF9965C47FA404DA
**Description:** SET_ENTITY_LO*
| Property | Value |
|----------|-------|
| Native Name | `_0xFF9965C47FA404DA` |
| Hash | `0xFF9965C47FA404DA` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity), `toggle` (BOOL) |
### Parameters
- **`entity`** (`Entity`)
- **`toggle`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
_0xFF9965C47FA404DA(entity, toggle)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xFF9965C47FA404DA, entity, toggle)
```
---
## _ADD_ENTITY_TRACKING_TRAILS
| Property | Value |
|----------|-------|
| Native Name | `_ADD_ENTITY_TRACKING_TRAILS` |
| Hash | `0x1AD922AB5038DEF3` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
AddEntityTrackingTrails(entity)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x1AD922AB5038DEF3, entity)
```
---
## _CHANGE_ENTITY_HEALTH
**Description:** Alters entity's health by 'amount'. Can be negative (to drain health).
In the scripts entity2 and weaponHash are unused (zero).
| Property | Value |
|----------|-------|
| Native Name | `_CHANGE_ENTITY_HEALTH` |
| Hash | `0x835F131E7DC8F97A` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity), `amount` (float), `entity2` (Entity), `weaponHash` (Hash) |
### Parameters
- **`entity`** (`Entity`)
- **`amount`** (`float`)
- **`entity2`** (`Entity`)
- **`weaponHash`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = ChangeEntityHealth(entity, amount, entity2, weaponHash)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x835F131E7DC8F97A, entity, amount, entity2, weaponHash)
```
---
## _CREATE_FOOTPATH_TRAIL
| Property | Value |
|----------|-------|
| Native Name | `_CREATE_FOOTPATH_TRAIL` |
| Hash | `0x29BA9F78321E5A6C` |
| Return Type | `Any` |
| Build | `1207` |
| Parameters | `p0` (Any), `waypointRecord` (const char*), `bUseSnowOffset` (BOOL), `p3` (float), `p4` (float), `p5` (Any), `p6` (Any), `p7` (Any), `p8` (Any), `p9` (Any), `p10` (Any), `bInit` (BOOL) |
### Parameters
- **`p0`** (`Any`)
- **`waypointRecord`** (`const char*`)
- **`bUseSnowOffset`** (`BOOL`)
- **`p3`** (`float`)
- **`p4`** (`float`)
- **`p5`** (`Any`)
- **`p6`** (`Any`)
- **`p7`** (`Any`)
- **`p8`** (`Any`)
- **`p9`** (`Any`)
- **`p10`** (`Any`)
- **`bInit`** (`BOOL`)
### Usage
**Lua (Direct):**
```lua
local result = CreateFootpathTrail(p0, waypointRecord, bUseSnowOffset, p3, p4, p5, p6, p7, p8, p9, p10, bInit)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x29BA9F78321E5A6C, p0, waypointRecord, bUseSnowOffset, p3, p4, p5, p6, p7, p8, p9, p10, bInit)
```
---
## _DELETE_CARRIABLE
| Property | Value |
|----------|-------|
| Native Name | `_DELETE_CARRIABLE` |
| Hash | `0x0D0DB2B6AF19A987` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity*) |
### Parameters
- **`entity`** (`Entity*`)
### Usage
**Lua (Direct):**
```lua
DeleteCarriable(entity)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x0D0DB2B6AF19A987, entity)
```
---
## _DELETE_ENTITY_2
**Description:** Must be called from a background script, otherwise it will do nothing.
| Property | Value |
|----------|-------|
| Native Name | `_DELETE_ENTITY_2` |
| Hash | `0x5E94EA09E7207C16` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity*) |
### Parameters
- **`entity`** (`Entity*`)
### Usage
**Lua (Direct):**
```lua
DeleteEntity2(entity)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0x5E94EA09E7207C16, entity)
```
---
## _DOES_THREAD_OWN_THIS_ENTITY
**Description:** Returns true if calling script owns specified entity
| Property | Value |
|----------|-------|
| Native Name | `_DOES_THREAD_OWN_THIS_ENTITY` |
| Hash | `0x88AD6CC10D8D35B2` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = DoesThreadOwnThisEntity(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x88AD6CC10D8D35B2, entity)
```
---
## _GET_CARRIABLE_FROM_ENTITY
**Description:** Returns a hash of an entity's name. (Alternative Name: _GET_ENTITY_PROMPT_NAME_HASH)
| Property | Value |
|----------|-------|
| Native Name | `_GET_CARRIABLE_FROM_ENTITY` |
| Hash | `0x31FEF6A20F00B963` |
| Return Type | `Hash` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetCarriableFromEntity(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x31FEF6A20F00B963, entity)
```
---
## _GET_ENTITIES_IN_VOLUME
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITIES_IN_VOLUME` |
| Hash | `0x886171A12F400B89` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `volume` (Volume), `itemSet` (ItemSet), `entityType` (int) |
### Parameters
- **`volume`** (`Volume`)
- **`itemSet`** (`ItemSet`)
- **`entityType`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntitiesInVolume(volume, itemSet, entityType)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x886171A12F400B89, volume, itemSet, entityType)
```
---
## _GET_ENTITIES_NEAR_POINT
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITIES_NEAR_POINT` |
| Hash | `0x59B57C4B06531E1E` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `x` (float), `y` (float), `z` (float), `radius` (float), `itemSet` (ItemSet), `p5` (int) |
### Parameters
- **`x`** (`float`)
- **`y`** (`float`)
- **`z`** (`float`)
- **`radius`** (`float`)
- **`itemSet`** (`ItemSet`)
- **`p5`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntitiesNearPoint(x, y, z, radius, itemSet, p5)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x59B57C4B06531E1E, x, y, z, radius, itemSet, p5)
```
---
## _GET_ENTITY_ANIM_CURRENT_TIME
**Description:** Returns a normalized value between 0.0f and 1.0f. You can get the actual anim time by multiplying this by GET_ANIM_DURATION
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_ANIM_CURRENT_TIME` |
| Hash | `0x627520389E288A73` |
| Return Type | `float` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `entity` (Entity), `animDict` (const char*), `animName` (const char*) |
### Parameters
- **`entity`** (`Entity`)
- **`animDict`** (`const char*`)
- **`animName`** (`const char*`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityAnimCurrentTime(entity, animDict, animName)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x627520389E288A73, entity, animDict, animName)
```
---
## _GET_ENTITY_BY_DOORHASH
**Description:** Params: p1 = 0 in R* Scripts (GET_DOOR_ENTITY_FROM_ID)
https://github.com/femga/rdr3_discoveries/blob/master/doorHashes/doorhashes.lua
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_BY_DOORHASH` |
| Hash | `0xF7424890E4A094C0` |
| Return Type | `Entity` |
| Build | `1207` |
| Parameters | `doorHash` (Hash), `p1` (int) |
### Parameters
- **`doorHash`** (`Hash`)
- **`p1`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityByDoorhash(doorHash, p1)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xF7424890E4A094C0, doorHash, p1)
```
---
## GET_ENTITY_CAN_BE_DAMAGED
**Description:** Old name: _GET_ENTITY_CAN_BE_DAMAGED
| Property | Value |
|----------|-------|
| Native Name | `GET_ENTITY_CAN_BE_DAMAGED` |
| Hash | `0x75DF9E73F2F005FD` |
| Return Type | `BOOL` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityCanBeDamaged(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x75DF9E73F2F005FD, entity)
```
---
## _GET_ENTITY_CARRYING_FLAG
**Description:** flagId: see _SET_ENTITY_CARRYING_FLAG
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_CARRYING_FLAG` |
| Hash | `0x808077647856DE62` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity), `flagId` (int) |
### Parameters
- **`entity`** (`Entity`)
- **`flagId`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityCarryingFlag(entity, flagId)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x808077647856DE62, entity, flagId)
```
---
## _GET_ENTITY_CARRY_CONFIG
**Description:** Returns zero if the entity is not a carriable
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_CARRY_CONFIG` |
| Hash | `0x0FD25587BB306C86` |
| Return Type | `Hash` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityCarryConfig(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x0FD25587BB306C86, entity)
```
---
## _GET_ENTITY_FORWARD_VECTOR_YX
**Description:** Gets the entity's forward vector in YX(Z) eulers. Similar to GET_ENTITY_FORWARD_VECTOR
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_FORWARD_VECTOR_YX` |
| Hash | `0x935A30AA88FB1014` |
| Return Type | `Vector3` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityForwardVectorYx(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x935A30AA88FB1014, entity)
```
---
## _GET_ENTITY_HEALTH_FLOAT
**Description:** Returns (CUR_HEALTH / MAX_HEALTH)
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_HEALTH_FLOAT` |
| Hash | `0x96C638784DB4C815` |
| Return Type | `float` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityHealthFloat(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x96C638784DB4C815, entity)
```
---
## GET_ENTITY_PROOFS
**Description:** Note: this native was removed in 1232 but added back in 1311
Old name: _GET_ENTITY_PROOFS
| Property | Value |
|----------|-------|
| Native Name | `GET_ENTITY_PROOFS` |
| Hash | `0x6CF0DAD7FA1088EA` |
| Return Type | `int` |
| API Set | `client` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityProofs(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x6CF0DAD7FA1088EA, entity)
```
---
## _GET_ENTITY_SCRIPT
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_SCRIPT` |
| Hash | `0x2A08A32B6D49906F` |
| Return Type | `Hash` |
| Build | `1207` |
| Parameters | `entity` (Entity), `argStruct` (Any*) |
### Parameters
- **`entity`** (`Entity`)
- **`argStruct`** (`Any*`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityScript(entity, argStruct)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x2A08A32B6D49906F, entity, argStruct)
```
---
## _GET_ENTITY_THREAT_TIER
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_THREAT_TIER` |
| Hash | `0xE12F56CB25D9CE23` |
| Return Type | `int` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetEntityThreatTier(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xE12F56CB25D9CE23, entity)
```
---
## _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS
| Property | Value |
|----------|-------|
| Native Name | `_GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS` |
| Hash | `0xF3FDA9A617A15145` |
| Return Type | `void` |
| Build | `1207` |
| Parameters | `entity` (Entity), `minimum` (Vector3*), `maximum` (Vector3*) |
### Parameters
- **`entity`** (`Entity`)
- **`minimum`** (`Vector3*`)
- **`maximum`** (`Vector3*`)
### Usage
**Lua (Direct):**
```lua
GetEntityWorldPositionOfDimensions(entity, minimum, maximum)
```
**Lua (Hash):**
```lua
Citizen.InvokeNative(0xF3FDA9A617A15145, entity, minimum, maximum)
```
---
## _GET_IS_BIRD
| Property | Value |
|----------|-------|
| Native Name | `_GET_IS_BIRD` |
| Hash | `0xC346A546612C49A9` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetIsBird(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xC346A546612C49A9, entity)
```
---
## _GET_IS_CARRIABLE_PELT
| Property | Value |
|----------|-------|
| Native Name | `_GET_IS_CARRIABLE_PELT` |
| Hash | `0x255B6DB4E3AD3C3E` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetIsCarriablePelt(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x255B6DB4E3AD3C3E, entity)
```
---
## _GET_IS_PREDATOR
| Property | Value |
|----------|-------|
| Native Name | `_GET_IS_PREDATOR` |
| Hash | `0x5594AFE9DE0C01B7` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = GetIsPredator(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x5594AFE9DE0C01B7, entity)
```
---
## _GET_OPTIMAL_CARRY_CONFIG
**Description:** Valid indices: 0 - 3
Index 1 always returns a `hogtied` config, doesn't matter the entity.
It's for humans only and the ped must be resurrected first if it's dead.
| Property | Value |
|----------|-------|
| Native Name | `_GET_OPTIMAL_CARRY_CONFIG` |
| Hash | `0x34F008A7E48C496B` |
| Return Type | `Hash` |
| Build | `1207` |
| Parameters | `entity` (Entity), `index` (int) |
### Parameters
- **`entity`** (`Entity`)
- **`index`** (`int`)
### Usage
**Lua (Direct):**
```lua
local result = GetOptimalCarryConfig(entity, index)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x34F008A7E48C496B, entity, index)
```
---
## _GET_PED_ANIMAL_TYPE
**Description:** Returns the ped's animal type hash: https://alloc8or.re/rdr3/doc/enums/eAnimalType.txt
Combine this with GET_STRING_FROM_HASH_KEY to display localized entity names
| Property | Value |
|----------|-------|
| Native Name | `_GET_PED_ANIMAL_TYPE` |
| Hash | `0x964000D355219FC0` |
| Return Type | `Hash` |
| Build | `1207` |
| Parameters | `ped` (Ped) |
### Parameters
- **`ped`** (`Ped`)
### Usage
**Lua (Direct):**
```lua
local result = GetPedAnimalType(ped)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x964000D355219FC0, ped)
```
---
## _GET_PINNED_MAP_ENTITY
| Property | Value |
|----------|-------|
| Native Name | `_GET_PINNED_MAP_ENTITY` |
| Hash | `0x4735E2A4BB83D9DA` |
| Return Type | `Entity` |
| Build | `1207` |
| Parameters | `p0` (Any) |
### Parameters
- **`p0`** (`Any`)
### Usage
**Lua (Direct):**
```lua
local result = GetPinnedMapEntity(p0)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x4735E2A4BB83D9DA, p0)
```
---
## _GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT
**Description:** Returns false if entity is not a ped or object.
| Property | Value |
|----------|-------|
| Native Name | `_GET_SCRIPT_OVERRIDE_ENTITY_LOOT_TABLE_PERMANENT` |
| Hash | `0x1E804EA9B12030A4` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity), `lootTable` (Hash*) |
### Parameters
- **`entity`** (`Entity`)
- **`lootTable`** (`Hash*`)
### Usage
**Lua (Direct):**
```lua
local result = GetScriptOverrideEntityLootTablePermanent(entity, lootTable)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x1E804EA9B12030A4, entity, lootTable)
```
---
## _IS_CARRIABLE_MODEL
| Property | Value |
|----------|-------|
| Native Name | `_IS_CARRIABLE_MODEL` |
| Hash | `0x5AFFA9DDC87846F8` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `model` (Hash) |
### Parameters
- **`model`** (`Hash`)
### Usage
**Lua (Direct):**
```lua
local result = IsCarriableModel(model)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x5AFFA9DDC87846F8, model)
```
---
## _IS_ENTITY_FROZEN
**Description:** Getter for FREEZE_ENTITY_POSITION
| Property | Value |
|----------|-------|
| Native Name | `_IS_ENTITY_FROZEN` |
| Hash | `0x083D497D57B7400F` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = IsEntityFrozen(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x083D497D57B7400F, entity)
```
---
## _IS_ENTITY_FULLY_LOOTED
| Property | Value |
|----------|-------|
| Native Name | `_IS_ENTITY_FULLY_LOOTED` |
| Hash | `0x8DE41E9902E85756` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = IsEntityFullyLooted(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x8DE41E9902E85756, entity)
```
---
## _IS_ENTITY_ON_TRAIN_TRACK
| Property | Value |
|----------|-------|
| Native Name | `_IS_ENTITY_ON_TRAIN_TRACK` |
| Hash | `0x857ACB0AB4BD0D55` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = IsEntityOnTrainTrack(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0x857ACB0AB4BD0D55, entity)
```
---
## _IS_ENTITY_OWNED_BY_PERSISTENCE_SYSTEM
| Property | Value |
|----------|-------|
| Native Name | `_IS_ENTITY_OWNED_BY_PERSISTENCE_SYSTEM` |
| Hash | `0xA7E51B53309EAC97` |
| Return Type | `BOOL` |
| Build | `1207` |
| Parameters | `entity` (Entity) |
### Parameters
- **`entity`** (`Entity`)
### Usage
**Lua (Direct):**
```lua
local result = IsEntityOwnedByPersistenceSystem(entity)
```
**Lua (Hash):**
```lua
local result = Citizen.InvokeNative(0xA7E51B53309EAC97, entity)
```
---
*End of ENTITY natives part 5*