The Lab
TXD native

HAS_STREAMED_TXD_LOADED

returns BOOL1 parambuild 1207

Returns true once the texture dictionary identified by txdHash has finished loading.

Signature

C
BOOL HAS_STREAMED_TXD_LOADED(Hash txdHash); // 0xBE72591D1509FFE4 b1207

Parameters

#NameType
1txdHashHash

Facts

Facts about HAS_STREAMED_TXD_LOADED
Name
HAS_STREAMED_TXD_LOADED
Hash
0xBE72591D1509FFE4
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(0xBE72591D1509FFE4, -- HAS_STREAMED_TXD_LOADED
  GetHashKey("name") -- Hash txdHash
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xBE72591D1509FFE4", // HAS_STREAMED_TXD_LOADED
  GetHashKey("name"), // Hash txdHash
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xBE72591D1509FFE4, // HAS_STREAMED_TXD_LOADED
  (uint)API.GetHashKey("name") // Hash txdHash
);
All TXD natives

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