The Lab
ENTITY native

SET_ENTITY_COLLISION

returns void3 paramsbuild 1207

Enables or disables collision on the entity, optionally keeping physics.

Signature

C
void SET_ENTITY_COLLISION(Entity entity, BOOL toggle, BOOL keepPhysics); // 0xF66F820909453B8C b1207

Parameters

#NameType
1entityEntity
2toggleBOOL
3keepPhysicsBOOL

Facts

Facts about SET_ENTITY_COLLISION
Name
SET_ENTITY_COLLISION
Hash
0xF66F820909453B8C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF66F820909453B8C, -- SET_ENTITY_COLLISION
  PlayerPedId(), -- Entity entity
  false, -- BOOL toggle
  false -- BOOL keepPhysics
)
JavaScript
Citizen.invokeNative("0xF66F820909453B8C", // SET_ENTITY_COLLISION
  PlayerPedId(), // Entity entity
  false, // BOOL toggle
  false // BOOL keepPhysics
);
C#
Function.Call((Hash)0xF66F820909453B8C, // SET_ENTITY_COLLISION
  API.PlayerPedId(), // Entity entity
  false, // BOOL toggle
  false // BOOL keepPhysics
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.