STOP_ANIM_TASK
Stops the animation animationName from animDictionary on ped, blending out with p3.
Signature
void STOP_ANIM_TASK(Ped ped, const char* animDictionary, const char* animationName, float p3); // 0x97FF36A1D40EA00A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animDictionary | const char* |
| 3 | animationName | const char* |
| 4 | p3 | float |
Facts
| Name | STOP_ANIM_TASK |
|---|---|
| Hash | 0x97FF36A1D40EA00A |
| 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(0x97FF36A1D40EA00A, -- STOP_ANIM_TASK
PlayerPedId(), -- Ped ped
"text", -- const char* animDictionary
"text", -- const char* animationName
0.0 -- float p3
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x97FF36A1D40EA00A", // STOP_ANIM_TASK
PlayerPedId(), // Ped ped
"text", // const char* animDictionary
"text", // const char* animationName
0.0 // float p3
);Function.Call((Hash)0x97FF36A1D40EA00A, // STOP_ANIM_TASK
API.PlayerPedId(), // Ped ped
"text", // const char* animDictionary
"text", // const char* animationName
0.0f // float p3
);Related TASK natives
- STOP_ANIM_PLAYBACK
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_ENTER_ANIM_SCENE
- TASK_EVASIVE_ANIM
- TASK_PLAY_ANIM
- TASK_PLAY_ANIM_ADVANCED
- TASK_PLAY_UPPER_ANIM_FACING_ENTITY
- TASK_STOP_LEADING_HORSE
- TASK_WHISTLE_ANIM
- START_TASK_ITEM_INTERACTION
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.