PLAY_ANIM_ON_RUNNING_SCENARIO
Plays the animation animName from animDict on ped while it stays in its scenario.
Signature
void PLAY_ANIM_ON_RUNNING_SCENARIO(Ped ped, const char* animDict, const char* animName); // 0x748040460F8DF5DC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animDict | const char* |
| 3 | animName | const char* |
Facts
| Name | PLAY_ANIM_ON_RUNNING_SCENARIO |
|---|---|
| Hash | 0x748040460F8DF5DC |
| 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(0x748040460F8DF5DC, -- PLAY_ANIM_ON_RUNNING_SCENARIO
PlayerPedId(), -- Ped ped
"text", -- const char* animDict
"text" -- const char* animName
)Citizen.invokeNative("0x748040460F8DF5DC", // PLAY_ANIM_ON_RUNNING_SCENARIO
PlayerPedId(), // Ped ped
"text", // const char* animDict
"text" // const char* animName
);Function.Call((Hash)0x748040460F8DF5DC, // PLAY_ANIM_ON_RUNNING_SCENARIO
API.PlayerPedId(), // Ped ped
"text", // const char* animDict
"text" // const char* animName
);Related TASK natives
- PLAY_ENTITY_SCRIPTED_ANIM
- _TRANSITION_SCENARIO_TO_CONDITIONAL_ANIM
- TASK_PLAY_ANIM
- TASK_PLAY_ANIM_ADVANCED
- TASK_PLAY_UPPER_ANIM_FACING_ENTITY
- PED_HAS_USE_SCENARIO_TASK
- _ASSOCIATE_PROP_WITH_SCENARIO
- _DELETE_SCENARIO_POINT
- _DISASSOCIATE_PROP_FROM_SCENARIO
- _DOES_SCENARIO_GROUP_EXIST_HASH
- _DOES_SCENARIO_POINT_HAVE_PROPS
- _GET_LINKED_SCENARIO_POINTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.