HAS_ANIM_EVENT_FIRED
Hash
0x5851CC48405F4A07Runtime name
HasAnimEventFiredNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEAF4CD9EA3E7E922Signature
BOOL HAS_ANIM_EVENT_FIRED(Entity entity, Hash actionHash);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
actionHash | Hash | — |
Returns BOOL
Usage
local retval = HasAnimEventFired(entity, actionHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x5851CC48405F4A07, entity, actionHash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = HasAnimEventFired(entity, actionHash);
// by hash
const retval = Citizen.invokeNative('0x5851CC48405F4A07', entity, actionHash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x5851CC48405F4A07, entity, actionHash);- 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.