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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | p0 |
– |
| 1 | int | p1 |
– |
| 2 | int | p2 |
– |
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);// LAW::_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
Function.Call((Hash)0x3C94A39B6A9AEF07, p0, p1, p2);-- LAW::_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
Citizen.InvokeNative(0x3C94A39B6A9AEF07, p0, p1, p2)// LAW::_FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
Citizen.invokeNative("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.