RDR3 match
TASK::TASK_START_SCENARIO_AT_POSITION
0xCB50C32EB2E09E03 ·RVA 0x044C8540
Signature
void TASK_START_SCENARIO_AT_POSITION(
Ped ped,
Hash scenarioHash,
Vector3 pos,
float heading,
int duration,
BOOL sittingScenario,
BOOL teleport,
Hash p9,
float p10,
BOOL p11
);
The scripts pass 12 values to this native; the decoded signature lists 10 (arguments the game doesn't read are left out).
Parameters 10
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | scenarioHash |
– |
| 2 | Vector3 | pos |
– |
| 3 | float | heading |
– |
| 4 | int | duration |
– |
| 5 | BOOL | sittingScenario |
– |
| 6 | BOOL | teleport |
– |
| 7 | Hash | p9 |
RDR3 takes a string; GTA VI passes its hash. |
| 8 | float | p10 |
– |
| 9 | BOOL | p11 |
– |
Returns
void Nothing.
Call it
// TASK::TASK_START_SCENARIO_AT_POSITION
invoke<Void>(0xCB50C32EB2E09E03, ped, scenarioHash, pos, heading, duration, sittingScenario, teleport, p9, p10, p11);// TASK::TASK_START_SCENARIO_AT_POSITION
Function.Call((Hash)0xCB50C32EB2E09E03, ped, scenarioHash, pos, heading, duration, sittingScenario, teleport, p9, p10, p11);-- TASK::TASK_START_SCENARIO_AT_POSITION
Citizen.InvokeNative(0xCB50C32EB2E09E03, ped, scenarioHash, pos, heading, duration, sittingScenario, teleport, p9, p10, p11)// TASK::TASK_START_SCENARIO_AT_POSITION
Citizen.invokeNative("0xCB50C32EB2E09E03", ped, scenarioHash, pos, heading, duration, sittingScenario, teleport, p9, p10, p11);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.