Log In
Sign Up
Game codeUnofficial name

LAW::_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY

0x3C94A39B6A9AEF07 ·RVA 0x03E83770

Signature

void _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY(
    Entity p0,
    int p1,
    int p2
);

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

Parameters 3

#TypeNameNotes
0Entityp0 –
1intp1 –
2intp2 –

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p0 is not in RDR3's signature; the game reads it as a 16-byte value, and the game uses it as an entity handle.
  • p1 is not in RDR3's signature; the game reads it as a 32-bit integer.
  • p2 is not in RDR3's signature; the game reads it as a 32-bit integer.
  • The scripts read a result cell, but the game writes nothing there.

Call it

// LAW::_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
invoke<Void>(0x3C94A39B6A9AEF07, p0, p1, p2);

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.