Log In
Sign Up
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

#TypeNameNotes
0Pedped –
1HashscenarioHash –
2Vector3pos –
3floatheading –
4intduration –
5BOOLsittingScenario –
6BOOLteleport –
7Hashp9 RDR3 takes a string; GTA VI passes its hash.
8floatp10 –
9BOOLp11 –

Returns

void Nothing.

Call it

// TASK::TASK_START_SCENARIO_AT_POSITION
invoke<Void>(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.