HAS_STREAMED_TXD_LOADED
Returns true once the texture dictionary identified by txdHash has finished loading.
Signature
BOOL HAS_STREAMED_TXD_LOADED(Hash txdHash); // 0xBE72591D1509FFE4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | txdHash | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0xBE72591D1509FFE4, -- HAS_STREAMED_TXD_LOADED
GetHashKey("name") -- Hash txdHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xBE72591D1509FFE4", // HAS_STREAMED_TXD_LOADED
GetHashKey("name"), // Hash txdHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xBE72591D1509FFE4, // HAS_STREAMED_TXD_LOADED
(uint)API.GetHashKey("name") // Hash txdHash
);Related TXD natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.