DOES_ANIM_DICT_EXIST
Returns true if an animation dictionary with the given name exists.
Check it before REQUEST_ANIM_DICT to avoid waiting forever on a typo.
Signature
BOOL DOES_ANIM_DICT_EXIST(const char* animDict); // 0x537F44CB0D7F150D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animDict | const char* |
Facts
| Name | DOES_ANIM_DICT_EXIST |
|---|---|
| Hash | 0x537F44CB0D7F150D |
| 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(0x537F44CB0D7F150D, -- DOES_ANIM_DICT_EXIST
"text" -- const char* animDict
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x537F44CB0D7F150D", // DOES_ANIM_DICT_EXIST
"text", // const char* animDict
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x537F44CB0D7F150D, // DOES_ANIM_DICT_EXIST
"text" // const char* animDict
);Related STREAMING natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.