RDR3 match
ENTITY::GET_ENTITY_MAX_HEALTH
0x92E8F3C3EA28A89F ·RVA 0x03C0A3E0
Signature
int GET_ENTITY_MAX_HEALTH(Entity entity, BOOL p1);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | entity |
– |
| 1 | BOOL | p1 |
the game doesn't read it. |
Returns
int
Call it
// ENTITY::GET_ENTITY_MAX_HEALTH
auto result = invoke<int>(0x92E8F3C3EA28A89F, entity, p1);// ENTITY::GET_ENTITY_MAX_HEALTH
int result = Function.Call<int>((Hash)0x92E8F3C3EA28A89F, entity, p1);-- ENTITY::GET_ENTITY_MAX_HEALTH
local result = Citizen.InvokeNative(0x92E8F3C3EA28A89F, entity, p1)// ENTITY::GET_ENTITY_MAX_HEALTH
const result = Citizen.invokeNative("0x92E8F3C3EA28A89F", entity, p1);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.