_TASK_START_SCENARIO_IN_PLACE_2
Based on its name and signature, here is our best reading:
Variant that starts a scenario in place for ped.
Signature
void _TASK_START_SCENARIO_IN_PLACE_2(Ped ped, Any p1, const char* p2, int p3, BOOL p4, float p5, BOOL p6); // 0xA917E39F2CEFD215 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | Any |
| 3 | p2 | const char* |
| 4 | p3 | int |
| 5 | p4 | BOOL |
| 6 | p5 | float |
| 7 | p6 | BOOL |
Facts
| Name | _TASK_START_SCENARIO_IN_PLACE_2 |
|---|---|
| Hash | 0xA917E39F2CEFD215 |
| 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(0xA917E39F2CEFD215, -- _TASK_START_SCENARIO_IN_PLACE_2
PlayerPedId(), -- Ped ped
0, -- Any p1
"text", -- const char* p2
0, -- int p3
false, -- BOOL p4
0.0, -- float p5
false -- BOOL p6
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xA917E39F2CEFD215", // _TASK_START_SCENARIO_IN_PLACE_2
PlayerPedId(), // Ped ped
0, // Any p1
"text", // const char* p2
0, // int p3
false, // BOOL p4
0.0, // float p5
false // BOOL p6
);Function.Call((Hash)0xA917E39F2CEFD215, // _TASK_START_SCENARIO_IN_PLACE_2
API.PlayerPedId(), // Ped ped
0, // Any p1
"text", // const char* p2
0, // int p3
false, // BOOL p4
0.0f, // float p5
false // BOOL p6
);Related TASK natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.