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
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | p0 |
the game uses it as an entity handle, and the scripts pass Ped values. |
| 1 | Vector3 | p1 |
the scripts pass vectors. |
| 2 | Hash | p2 |
hash constants. |
| 3 | int | p3 |
– |
| 4 | Hash | p4 |
hash constants. |
| 5 | int | p5 |
– |
| 6 | BOOL | p6 |
– |
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);// LAW::_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
int result = Function.Call<int>((Hash)0x5B81B0768A340DF4, p0, p1, p2, p3, p4, p5, p6);-- LAW::_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
local result = Citizen.InvokeNative(0x5B81B0768A340DF4, p0, p1, p2, p3, p4, p5, p6)// LAW::_CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
const result = Citizen.invokeNative("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.