_IS_TEXTURE_IN_DICT
Hash
0xA2A51869BDED733BRuntime name
IsTextureInDictNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_TEXTURE_IN_DICT(Hash txdHash, Hash dict);Parameters
| Name | Type | Description |
|---|---|---|
txdHash | Hash | — |
dict | Hash | — |
Returns BOOL
Usage
local retval = IsTextureInDict(txdHash, dict)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA2A51869BDED733B, txdHash, dict, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsTextureInDict(txdHash, dict);
// by hash
const retval = Citizen.invokeNative('0xA2A51869BDED733B', txdHash, dict, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xA2A51869BDED733B, txdHash, dict);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.