TasksClient

stopAnimPlayback

STOP_ANIM_PLAYBACK0xEE08C992D238C5D1

The 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.

SignatureJavaScript
stopAnimPlayback(entity: Entity, priority: number, secondary: boolean): void
SignatureLua
stopAnimPlayback(entity: Entity, priority: integer, secondary: boolean)

Usage

JavaScript
stopAnimPlayback(entity, priority, secondary);
Lua
stopAnimPlayback(entity, priority, secondary)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
priorityintnumberinteger
secondaryBOOLbooleanboolean

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

Open in the interactive natives reference