Game codeUnofficial name
LAW::_ENABLE_DISPATCH_LAW_2
0xB59B3DEC8EFBB72B ·RVA 0x03E92890
Signature
void _ENABLE_DISPATCH_LAW_2(Ped p0, BOOL toggle);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | p0 |
– |
| 1 | BOOL | toggle |
– |
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, and the scripts pass Ped values.
Call it
// LAW::_ENABLE_DISPATCH_LAW_2
invoke<Void>(0xB59B3DEC8EFBB72B, p0, toggle);// LAW::_ENABLE_DISPATCH_LAW_2
Function.Call((Hash)0xB59B3DEC8EFBB72B, p0, toggle);-- LAW::_ENABLE_DISPATCH_LAW_2
Citizen.InvokeNative(0xB59B3DEC8EFBB72B, p0, toggle)// LAW::_ENABLE_DISPATCH_LAW_2
Citizen.invokeNative("0xB59B3DEC8EFBB72B", p0, toggle);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.