SET_ENTITY_ONLY_DAMAGED_BY_PLAYER
Hash
0x473598683095D430Runtime name
SetEntityOnlyDamagedByPlayerNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x79F020FF9EDC0748Signature
void SET_ENTITY_ONLY_DAMAGED_BY_PLAYER(Entity entity, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
toggle | BOOL | — |
Returns void
Usage
SetEntityOnlyDamagedByPlayer(entity, toggle)
-- always works, by hash
Citizen.InvokeNative(0x473598683095D430, entity, toggle)JavaScript and C#
SetEntityOnlyDamagedByPlayer(entity, toggle);
// by hash
Citizen.invokeNative('0x473598683095D430', entity, toggle);Function.Call((Hash)0x473598683095D430, entity, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.