DOES_STREAMED_TXD_EXIST
Returns true if a streamed texture dictionary with the given hash exists.
Signature
BOOL DOES_STREAMED_TXD_EXIST(Hash txdHash); // 0xBA0163B277C2D2D0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | txdHash | Hash |
Facts
| Name | DOES_STREAMED_TXD_EXIST |
|---|---|
| Hash | 0xBA0163B277C2D2D0 |
| 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(0xBA0163B277C2D2D0, -- DOES_STREAMED_TXD_EXIST
GetHashKey("name") -- Hash txdHash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xBA0163B277C2D2D0", // DOES_STREAMED_TXD_EXIST
GetHashKey("name"), // Hash txdHash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xBA0163B277C2D2D0, // DOES_STREAMED_TXD_EXIST
(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.