RDR3 match
LAW::ARE_WITNESSES_ACTIVE
0xD7790B74961E7E88 ·RVA 0x03E82BD0
Signature
BOOL ARE_WITNESSES_ACTIVE(Ped playerPed);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | playerPed |
RDR3 takes a Player; GTA VI takes the player's ped. |
Returns
BOOL
the game returns one byte.
Call it
// LAW::ARE_WITNESSES_ACTIVE
auto result = invoke<BOOL>(0xD7790B74961E7E88, playerPed);// LAW::ARE_WITNESSES_ACTIVE
bool result = Function.Call<bool>((Hash)0xD7790B74961E7E88, playerPed);-- LAW::ARE_WITNESSES_ACTIVE
local result = Citizen.InvokeNative(0xD7790B74961E7E88, playerPed)// LAW::ARE_WITNESSES_ACTIVE
const result = Citizen.invokeNative("0xD7790B74961E7E88", playerPed);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.