_SET_ENTITY_ANIM_SPEED
Sets the playback speed multiplier of the given animation on the entity.
Signature
void _SET_ENTITY_ANIM_SPEED(Entity entity, const char* animDict, const char* animName, float speedMultiplier); // 0xEAA885BA3CEA4E4A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | animDict | const char* |
| 3 | animName | const char* |
| 4 | speedMultiplier | float |
Facts
| Name | _SET_ENTITY_ANIM_SPEED |
|---|---|
| Hash | 0xEAA885BA3CEA4E4A |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xEAA885BA3CEA4E4A, -- _SET_ENTITY_ANIM_SPEED
PlayerPedId(), -- Entity entity
"text", -- const char* animDict
"text", -- const char* animName
0.0 -- float speedMultiplier
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xEAA885BA3CEA4E4A", // _SET_ENTITY_ANIM_SPEED
PlayerPedId(), // Entity entity
"text", // const char* animDict
"text", // const char* animName
0.0 // float speedMultiplier
);Function.Call((Hash)0xEAA885BA3CEA4E4A, // _SET_ENTITY_ANIM_SPEED
API.PlayerPedId(), // Entity entity
"text", // const char* animDict
"text", // const char* animName
0.0f // float speedMultiplier
);Related ENTITY natives
- _SET_ENTITY_ANIM_AGE
- _SET_ENTITY_ANIM_CURRENT_TIME
- _SET_ENTITY_ATTACHED_OFFSET
- _SET_ENTITY_CARCASS_TYPE
- _SET_ENTITY_CARRYING_FLAG
- _SET_ENTITY_COORDS_AND_HEADING
- _SET_ENTITY_COORDS_AND_HEADING_NO_OFFSET
- _SET_ENTITY_CUSTOM_PICKUP_RADIUS
- _SET_ENTITY_DISABLE_FIRE
- _SET_ENTITY_FADE_IN
- _SET_ENTITY_FULLY_LOOTED
- _SET_ENTITY_LIGHTS_ENABLED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.