stopAnimPlayback
STOP_ANIM_PLAYBACK0xEE08C992D238C5D1The GTA V native STOP_ANIM_PLAYBACK of the TASK namespace, as LS:MP client scripts call it: the global function stopAnimPlayback, in JavaScript and in Lua.
stopAnimPlayback(entity: Entity, priority: number, secondary: boolean): voidstopAnimPlayback(entity: Entity, priority: integer, secondary: boolean)Usage
JavaScript
stopAnimPlayback(entity, priority, secondary);Lua
stopAnimPlayback(entity, priority, secondary)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
priority | int | number | integer |
secondary | BOOL | boolean | boolean |
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.
Looks like p1 may be a flag, still need to do some research, though.
Reference
- Namespace
- Tasks TASK
- In the game
void STOP_ANIM_PLAYBACK(Entity entity, int priority, BOOL secondary)- Hash
0xEE08C992D238C5D1