stopEntityAnim
STOP_ENTITY_ANIM0x28004F88151E03E0The GTA V native STOP_ENTITY_ANIM of the ENTITY namespace, as LS:MP client scripts call it: the global function stopEntityAnim, in JavaScript and in Lua.
stopEntityAnim(
entity: Entity,
animation: string,
animGroup: string,
p3: number
): booleanstopEntityAnim(
entity: Entity,
animation: string,
animGroup: string,
p3: number
): booleanUsage
JavaScript
const result = stopEntityAnim(entity, animation, animGroup, p3);Lua
local result = stopEntityAnim(entity, animation, animGroup, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
animation | string | string | string |
animGroup | string | string | string |
p3 | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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
RAGEPluginHook list: docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm
Reference
- Namespace
- Entity ENTITY
- In the game
BOOL STOP_ENTITY_ANIM(Entity entity, const char* animation, const char* animGroup, float p3)- Hash
0x28004F88151E03E0