SET_ENTITY_NO_COLLISION_ENTITY
Disables collision between entity1 and entity2, optionally for this frame only.
Signature
void SET_ENTITY_NO_COLLISION_ENTITY(Entity entity1, Entity entity2, BOOL thisFrameOnly); // 0xE037BF068223C38D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity1 | Entity |
| 2 | entity2 | Entity |
| 3 | thisFrameOnly | BOOL |
Facts
| Name | SET_ENTITY_NO_COLLISION_ENTITY |
|---|---|
| Hash | 0xE037BF068223C38D |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xE037BF068223C38D, -- SET_ENTITY_NO_COLLISION_ENTITY
PlayerPedId(), -- Entity entity1
PlayerPedId(), -- Entity entity2
false -- BOOL thisFrameOnly
)Citizen.invokeNative("0xE037BF068223C38D", // SET_ENTITY_NO_COLLISION_ENTITY
PlayerPedId(), // Entity entity1
PlayerPedId(), // Entity entity2
false // BOOL thisFrameOnly
);Function.Call((Hash)0xE037BF068223C38D, // SET_ENTITY_NO_COLLISION_ENTITY
API.PlayerPedId(), // Entity entity1
API.PlayerPedId(), // Entity entity2
false // BOOL thisFrameOnly
);Related ENTITY natives
- SET_ENTITY_AS_MISSION_ENTITY
- SET_ENTITY_AS_NO_LONGER_NEEDED
- SET_ENTITY_COLLISION
- SET_ENTITY_COMPLETELY_DISABLE_COLLISION
- SET_ENTITY_COORDS_NO_OFFSET
- SET_ENTITY_LOAD_COLLISION_FLAG
- SET_ENTITY_SHOULD_FREEZE_WAITING_ON_COLLISION
- SET_ENTITY_NOWEAPONDECALS
- SET_ENTITY_ALPHA
- SET_ENTITY_ALWAYS_PRERENDER
- SET_ENTITY_CAN_BE_DAMAGED
- SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.