The Lab
INTERIOR native

_IS_INTERIOR_ENTITY_SET_VALID

returns BOOL2 paramsbuild 1207

Returns true if the named entity set exists for the given interior.

Signature

C
BOOL _IS_INTERIOR_ENTITY_SET_VALID(Interior interior, const char* entitySetName); // 0xD56FF170710FC826 b1207

Parameters

#NameType
1interiorInterior
2entitySetNameconst char*

Facts

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

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