_SET_ENTITY_ANIM_CURRENT_TIME
Sets the current playback time of the given animation on the entity.
Signature
void _SET_ENTITY_ANIM_CURRENT_TIME(Entity entity, const char* animDict, const char* animName, float time); // 0x11CDABDC7783B2BC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | animDict | const char* |
| 3 | animName | const char* |
| 4 | time | float |
Facts
| 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.
Citizen.InvokeNative(0x11CDABDC7783B2BC, -- _SET_ENTITY_ANIM_CURRENT_TIME
PlayerPedId(), -- Entity entity
"text", -- const char* animDict
"text", -- const char* animName
0.0 -- float time
)// 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
);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
);Related ENTITY natives
- _SET_ENTITY_ANIM_AGE
- _SET_ENTITY_ANIM_SPEED
- _GET_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
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.