The Lab
MISC native

_DOES_ITEM_HAVE_VALID_BASE

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Returns true if the item set entry item refers to a valid underlying object.

Signature

C
BOOL _DOES_ITEM_HAVE_VALID_BASE(ScrHandle item); // 0xBDC6E364C9C78178 b1207

Parameters

#NameType
1itemScrHandle

Facts

Facts about _DOES_ITEM_HAVE_VALID_BASE
Name
_DOES_ITEM_HAVE_VALID_BASE
Hash
0xBDC6E364C9C78178
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(0xBDC6E364C9C78178, -- _DOES_ITEM_HAVE_VALID_BASE
  0 -- ScrHandle item
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xBDC6E364C9C78178", // _DOES_ITEM_HAVE_VALID_BASE
  0, // ScrHandle item
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xBDC6E364C9C78178, // _DOES_ITEM_HAVE_VALID_BASE
  0 // ScrHandle item
);
All MISC natives

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