SET_INTERIOR_IN_USE
Marks the interior as in use so the game keeps it active, returning a boolean result.
Signature
BOOL SET_INTERIOR_IN_USE(Interior interior); // 0xB5EF6FEF2DC9EBED b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | interior | Interior |
Facts
| Name | SET_INTERIOR_IN_USE |
|---|---|
| Hash | 0xB5EF6FEF2DC9EBED |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xB5EF6FEF2DC9EBED, -- SET_INTERIOR_IN_USE
0 -- Interior interior
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xB5EF6FEF2DC9EBED", // SET_INTERIOR_IN_USE
0, // Interior interior
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xB5EF6FEF2DC9EBED, // SET_INTERIOR_IN_USE
0 // Interior interior
);Related INTERIOR natives
- _IS_INTERIOR_ENTITY_SET_VALID
- ACTIVATE_INTERIOR_ENTITY_SET
- DEACTIVATE_INTERIOR_ENTITY_SET
- IS_INTERIOR_ENTITY_SET_ACTIVE
- PIN_INTERIOR_IN_MEMORY
- RETAIN_ENTITY_IN_INTERIOR
- _GET_INTERIOR_MINIMAP_HASH
- _GET_INTERIOR_POSITION
- DISABLE_INTERIOR
- GET_INTERIOR_AT_COORDS
- GET_INTERIOR_AT_COORDS_WITH_TYPE
- GET_INTERIOR_AT_COORDS_WITH_TYPEHASH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.