TASK_ENTER_ANIM_SCENE
Tasks ped to enter animScene as the entity entityName using the playback list playbackListName.
Signature
void TASK_ENTER_ANIM_SCENE(Ped ped, AnimScene animScene, const char* entityName, const char* playbackListName, float enterSpeed, BOOL bAutoStart, int flag, int p7, float p8); // 0xC2329B0206426644 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animScene | AnimScene |
| 3 | entityName | const char* |
| 4 | playbackListName | const char* |
| 5 | enterSpeed | float |
| 6 | bAutoStart | BOOL |
| 7 | flag | int |
| 8 | p7 | int |
| 9 | p8 | float |
Facts
| Name | TASK_ENTER_ANIM_SCENE |
|---|---|
| Hash | 0xC2329B0206426644 |
| 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(0xC2329B0206426644, -- TASK_ENTER_ANIM_SCENE
PlayerPedId(), -- Ped ped
0, -- AnimScene animScene
"text", -- const char* entityName
"text", -- const char* playbackListName
0.0, -- float enterSpeed
false, -- BOOL bAutoStart
0, -- int flag
0, -- int p7
0.0 -- float p8
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC2329B0206426644", // TASK_ENTER_ANIM_SCENE
PlayerPedId(), // Ped ped
0, // AnimScene animScene
"text", // const char* entityName
"text", // const char* playbackListName
0.0, // float enterSpeed
false, // BOOL bAutoStart
0, // int flag
0, // int p7
0.0 // float p8
);Function.Call((Hash)0xC2329B0206426644, // TASK_ENTER_ANIM_SCENE
API.PlayerPedId(), // Ped ped
0, // AnimScene animScene
"text", // const char* entityName
"text", // const char* playbackListName
0.0f, // float enterSpeed
false, // BOOL bAutoStart
0, // int flag
0, // int p7
0.0f // float p8
);Related TASK natives
- TASK_ENTER_VEHICLE
- TASK_EVASIVE_ANIM
- TASK_PLAY_ANIM
- TASK_PLAY_ANIM_ADVANCED
- TASK_PLAY_UPPER_ANIM_FACING_ENTITY
- TASK_WHISTLE_ANIM
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- STOP_ANIM_TASK
- TASK_EAT
- TASK_EVERYONE_LEAVE_VEHICLE_IN_ORDER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.