SET_ENTITY_INVINCIBLE
Sets a ped or an object totally invincible.
Hash
0xA5C38736C426FCB8Runtime name
SetEntityInvincibleNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3882114BDE571AD4Signature
void SET_ENTITY_INVINCIBLE(Entity entity, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Description
Sets a ped or an object totally invincible. It doesn't take any kind of damage. Peds will not ragdoll on explosions.
Usage
SetEntityInvincible(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0xA5C38736C426FCB8, entity, toggle)JavaScript and C#
SetEntityInvincible(entity, toggle);
// by hash
Citizen.invokeNative('0xA5C38736C426FCB8', entity, toggle);Function.Call((Hash)0xA5C38736C426FCB8, entity, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.