Log In
Sign Up
Game code

TASK::TASK_ENTER_VEHICLE

0xB92F63573DF1AF55 ·RVA 0x04BFA020

Signature

void TASK_ENTER_VEHICLE(
    Ped ped,
    Vehicle vehicle,
    int timeout,
    int seat,
    float speed,
    int flag
);

The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).

Parameters 6

#TypeNameNotes
0Pedped –
1Vehiclevehicle –
2inttimeout –
3intseat –
4floatspeed –
5intflag –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p6, in RDR3's signature, is not passed in GTA VI.
  • This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.

Call it

// TASK::TASK_ENTER_VEHICLE
invoke<Void>(0xB92F63573DF1AF55, ped, vehicle, timeout, seat, speed, flag);

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.