The Lab
INTERIOR native

IS_VALID_INTERIOR

returns BOOL1 parambuild 1207

Returns true if the given handle refers to a valid interior.

Signature

C
BOOL IS_VALID_INTERIOR(Interior interior); // 0x017C1B3159F79F6C b1207

Parameters

#NameType
1interiorInterior

Facts

Facts about IS_VALID_INTERIOR
Name
IS_VALID_INTERIOR
Hash
0x017C1B3159F79F6C
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(0x017C1B3159F79F6C, -- IS_VALID_INTERIOR
  0 -- Interior interior
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x017C1B3159F79F6C", // IS_VALID_INTERIOR
  0, // Interior interior
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x017C1B3159F79F6C, // IS_VALID_INTERIOR
  0 // Interior interior
);
All INTERIOR natives

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