Log In
Sign Up
Game code

VEHICLE::BRING_VEHICLE_TO_HALT

0x61CD95DFD9F4170F ·RVA 0x04A7F340

Signature

void BRING_VEHICLE_TO_HALT(
    Vehicle vehicle,
    float distance,
    int duration,
    BOOL unknown,
    BOOL p4
);

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

Parameters 5

#TypeNameNotes
0Vehiclevehicle –
1floatdistance –
2intduration –
3BOOLunknown –
4BOOLp4 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p4 is not in RDR3's signature; the game reads it as a true/false value.
  • 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

// VEHICLE::BRING_VEHICLE_TO_HALT
invoke<Void>(0x61CD95DFD9F4170F, vehicle, distance, duration, unknown, p4);

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.