The Lab
INTERIOR native

SET_INTERIOR_IN_USE

returns BOOL1 parambuild 1207

Marks the interior as in use so the game keeps it active, returning a boolean result.

Signature

C
BOOL SET_INTERIOR_IN_USE(Interior interior); // 0xB5EF6FEF2DC9EBED b1207

Parameters

#NameType
1interiorInterior

Facts

Facts about SET_INTERIOR_IN_USE
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.

Lua
local result = Citizen.InvokeNative(0xB5EF6FEF2DC9EBED, -- SET_INTERIOR_IN_USE
  0 -- Interior interior
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xB5EF6FEF2DC9EBED", // SET_INTERIOR_IN_USE
  0, // Interior interior
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xB5EF6FEF2DC9EBED, // SET_INTERIOR_IN_USE
  0 // Interior interior
);
All INTERIOR natives

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