setEntityAnimSpeed
SET_ENTITY_ANIM_SPEED0x28D1A16553C51776The GTA V native SET_ENTITY_ANIM_SPEED of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityAnimSpeed, in JavaScript and in Lua.
setEntityAnimSpeed(
entity: Entity,
animDictionary: string,
animName: string,
speedMultiplier: number
): voidsetEntityAnimSpeed(
entity: Entity,
animDictionary: string,
animName: string,
speedMultiplier: number
)Usage
JavaScript
setEntityAnimSpeed(entity, animDictionary, animName, speedMultiplier);Lua
setEntityAnimSpeed(entity, animDictionary, animName, speedMultiplier)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
animDictionary | string | string | string |
animName | string | string | string |
speedMultiplier | 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
- Entity ENTITY
- In the game
void SET_ENTITY_ANIM_SPEED(Entity entity, const char* animDictionary, const char* animName, float speedMultiplier)- Hash
0x28D1A16553C51776