stopAnimTask
STOP_ANIM_TASK0x97FF36A1D40EA00AThe GTA V native STOP_ANIM_TASK of the TASK namespace, as LS:MP client scripts call it: the global function stopAnimTask, in JavaScript and in Lua.
stopAnimTask(
entity: Entity,
animDictionary: string,
animationName: string,
blendDelta: number
): voidstopAnimTask(
entity: Entity,
animDictionary: string,
animationName: string,
blendDelta: number
)Usage
JavaScript
stopAnimTask(entity, animDictionary, animationName, blendDelta);Lua
stopAnimTask(entity, animDictionary, animationName, blendDelta)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
animDictionary | string | string | string |
animationName | string | string | string |
blendDelta | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Reference
- Namespace
- Tasks TASK
- In the game
void STOP_ANIM_TASK(Entity entity, const char* animDictionary, const char* animationName, float blendDelta)- Hash
0x97FF36A1D40EA00A