EntityClientNot in this build

setEntityNoCollisionWithNetworkedEntity

_SET_ENTITY_NO_COLLISION_WITH_NETWORKED_ENTITY0x0A27A7827347B3B1

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

SignatureJavaScript
setEntityNoCollisionWithNetworkedEntity(
  entity1: Entity,
  entity2: Entity
): void
SignatureLua
setEntityNoCollisionWithNetworkedEntity(entity1: Entity, entity2: Entity)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setEntityNoCollisionWithNetworkedEntity(entity1, entity2);
Lua
setEntityNoCollisionWithNetworkedEntity(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_NO_COLLISION_WITH_NETWORKED_ENTITY(Entity entity1, Entity entity2)
Hash
0x0A27A7827347B3B1
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference