HAS_STREAMED_TEXTURE_DICT_LOADED
Returns true once the named texture dictionary has finished loading.
Poll it after REQUEST_STREAMED_TEXTURE_DICT before drawing sprites.
Signature
BOOL HAS_STREAMED_TEXTURE_DICT_LOADED(const char* textureDict); // 0x54D6900929CCF162 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | textureDict | const char* |
Facts
| Name | HAS_STREAMED_TEXTURE_DICT_LOADED |
|---|---|
| Hash | 0x54D6900929CCF162 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x54D6900929CCF162, -- HAS_STREAMED_TEXTURE_DICT_LOADED
"text" -- const char* textureDict
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x54D6900929CCF162", // HAS_STREAMED_TEXTURE_DICT_LOADED
"text", // const char* textureDict
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x54D6900929CCF162, // HAS_STREAMED_TEXTURE_DICT_LOADED
"text" // const char* textureDict
);Related TXD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.