setEntityNoCollisionWithNetworkedEntity
_SET_ENTITY_NO_COLLISION_WITH_NETWORKED_ENTITY0x0A27A7827347B3B1The 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.
setEntityNoCollisionWithNetworkedEntity(
entity1: Entity,
entity2: Entity
): voidsetEntityNoCollisionWithNetworkedEntity(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity1 | Entity | number | integer |
entity2 | Entity | number | integer |
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