Log In
Sign Up
Game codeUnofficial name

LAW::_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS

0x5B81B0768A340DF4 ·RVA 0x03E83980

Signature

int _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS(
    Ped p0,
    Vector3 p1,
    Hash p2,
    int p3,
    Hash p4,
    int p5,
    BOOL p6
);

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

Parameters 7

#TypeNameNotes
0Pedp0 the game uses it as an entity handle, and the scripts pass Ped values.
1Vector3p1 the scripts pass vectors.
2Hashp2 hash constants.
3intp3 –
4Hashp4 hash constants.
5intp5 –
6BOOLp6 –

Returns

int

Notes

  • RDR3's signature doesn't line up with the game's arguments, so the arguments are numbered.

Call it

// LAW::_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
auto result = invoke<int>(0x5B81B0768A340DF4, p0, p1, p2, p3, p4, p5, p6);

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.