The Lab
ENTITY native

_SET_ENTITY_ANIM_AGE

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets an animation age value on the entity. Exact meaning is not documented.

Signature

C
void _SET_ENTITY_ANIM_AGE(Entity entity, float alpha); // 0xC0EDEF16D90661EE b1207

Parameters

#NameType
1entityEntity
2alphafloat

Facts

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

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