SET_ENTITY_CAN_BE_DAMAGED
Hash
0x0D06D522B90E861FRuntime name
SetEntityCanBeDamagedNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1760FFA8AB074D66Signature
void SET_ENTITY_CAN_BE_DAMAGED(Entity entity, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Usage
SetEntityCanBeDamaged(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0x0D06D522B90E861F, entity, toggle)JavaScript and C#
SetEntityCanBeDamaged(entity, toggle);
// by hash
Citizen.invokeNative('0x0D06D522B90E861F', entity, toggle);Function.Call((Hash)0x0D06D522B90E861F, entity, toggle);See also
_GET_ENTITY_CAN_BE_DAMAGEDOld name: _GET_ENTITY_CAN_BE_DAMAGED
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.