The Lab
ENTITY native

_SET_ENTITY_ANIM_CURRENT_TIME

returns void4 paramsbuild 1207

Sets the current playback time of the given animation on the entity.

Signature

C
void _SET_ENTITY_ANIM_CURRENT_TIME(Entity entity, const char* animDict, const char* animName, float time); // 0x11CDABDC7783B2BC b1207

Parameters

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

Facts

Facts about _SET_ENTITY_ANIM_CURRENT_TIME
Name
_SET_ENTITY_ANIM_CURRENT_TIME
Hash
0x11CDABDC7783B2BC
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(0x11CDABDC7783B2BC, -- _SET_ENTITY_ANIM_CURRENT_TIME
  PlayerPedId(), -- Entity entity
  "text", -- const char* animDict
  "text", -- const char* animName
  0.0 -- float time
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x11CDABDC7783B2BC", // _SET_ENTITY_ANIM_CURRENT_TIME
  PlayerPedId(), // Entity entity
  "text", // const char* animDict
  "text", // const char* animName
  0.0 // float time
);
C#
Function.Call((Hash)0x11CDABDC7783B2BC, // _SET_ENTITY_ANIM_CURRENT_TIME
  API.PlayerPedId(), // Entity entity
  "text", // const char* animDict
  "text", // const char* animName
  0.0f // float time
);
All ENTITY natives

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