RDR3 match
ENTITY::GET_ENTITY_HEALTH
0x158C3F087DC97878 ·RVA 0x03C09F50
Signature
int GET_ENTITY_HEALTH(Entity entity);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
Returns
int
Call it
// ENTITY::GET_ENTITY_HEALTH
auto result = invoke<int>(0x158C3F087DC97878, entity);// ENTITY::GET_ENTITY_HEALTH
int result = Function.Call<int>((Hash)0x158C3F087DC97878, entity);-- ENTITY::GET_ENTITY_HEALTH
local result = Citizen.InvokeNative(0x158C3F087DC97878, entity)// ENTITY::GET_ENTITY_HEALTH
const result = Citizen.invokeNative("0x158C3F087DC97878", entity);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.