GET_ENTITY_MAX_HEALTH
Hash
0x15D757606D170C3CRuntime name
GetEntityMaxHealthNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x15D757606D170C3CSignature
int GET_ENTITY_MAX_HEALTH(Entity entity, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
p1 | BOOL | — |
Returns int
Usage
local retval = GetEntityMaxHealth(entity, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x15D757606D170C3C, entity, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetEntityMaxHealth(entity, p1);
// by hash
const retval = Citizen.invokeNative('0x15D757606D170C3C', entity, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x15D757606D170C3C, entity, p1);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.