EntityClient

setEntityCantCauseCollisionDamagedEntity

SET_ENTITY_CANT_CAUSE_COLLISION_DAMAGED_ENTITY0x68B562E124CC0AEF

The GTA V native SET_ENTITY_CANT_CAUSE_COLLISION_DAMAGED_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityCantCauseCollisionDamagedEntity, in JavaScript and in Lua.

SignatureJavaScript
setEntityCantCauseCollisionDamagedEntity(
  entity1: Entity,
  entity2: Entity
): void
SignatureLua
setEntityCantCauseCollisionDamagedEntity(entity1: Entity, entity2: Entity)

Usage

JavaScript
setEntityCantCauseCollisionDamagedEntity(entity1, entity2);
Lua
setEntityCantCauseCollisionDamagedEntity(entity1, entity2)

Parameters

ParameterTypeJavaScriptLua
entity1Entitynumberinteger
entity2Entitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Entity ENTITY
In the game
void SET_ENTITY_CANT_CAUSE_COLLISION_DAMAGED_ENTITY(Entity entity1, Entity entity2)
Hash
0x68B562E124CC0AEF
Introduced
Game build 1180 legacy numbering

Open in the interactive natives reference