RETAIN_ENTITY_IN_INTERIOR
Keeps the entity attached to the given interior so it stays inside it when the interior streams.
Signature
void RETAIN_ENTITY_IN_INTERIOR(Entity entity, Interior interior); // 0x5BD616735F16BF5C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | interior | Interior |
Facts
| Name | RETAIN_ENTITY_IN_INTERIOR |
|---|---|
| Hash | 0x5BD616735F16BF5C |
| 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(0x5BD616735F16BF5C, -- RETAIN_ENTITY_IN_INTERIOR
PlayerPedId(), -- Entity entity
0 -- Interior interior
)Citizen.invokeNative("0x5BD616735F16BF5C", // RETAIN_ENTITY_IN_INTERIOR
PlayerPedId(), // Entity entity
0 // Interior interior
);Function.Call((Hash)0x5BD616735F16BF5C, // RETAIN_ENTITY_IN_INTERIOR
API.PlayerPedId(), // Entity entity
0 // Interior interior
);Related INTERIOR natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.