The Lab
ENTITY native

_SET_ENTITY_ANIM_SPEED

returns void4 paramsbuild 1207

Sets the playback speed multiplier of the given animation on the entity.

Signature

C
void _SET_ENTITY_ANIM_SPEED(Entity entity, const char* animDict, const char* animName, float speedMultiplier); // 0xEAA885BA3CEA4E4A b1207

Parameters

#NameType
1entityEntity
2animDictconst char*
3animNameconst char*
4speedMultiplierfloat

Facts

Facts about _SET_ENTITY_ANIM_SPEED
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.

Lua
Citizen.InvokeNative(0xEAA885BA3CEA4E4A, -- _SET_ENTITY_ANIM_SPEED
  PlayerPedId(), -- Entity entity
  "text", -- const char* animDict
  "text", -- const char* animName
  0.0 -- float speedMultiplier
)
JavaScript
// 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
);
C#
Function.Call((Hash)0xEAA885BA3CEA4E4A, // _SET_ENTITY_ANIM_SPEED
  API.PlayerPedId(), // Entity entity
  "text", // const char* animDict
  "text", // const char* animName
  0.0f // float speedMultiplier
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.