The Lab
LAW native

_ADD_WITNESS_RESPONSE

returns void3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to register a witness response to a crime of type crimeType committed by player, involving pedGroup.

Signature

C
void _ADD_WITNESS_RESPONSE(Player player, Hash crimeType, Ped pedGroup); // 0x10827B5A0AAC56A7 b1207

Parameters

#NameType
1playerPlayer
2crimeTypeHash
3pedGroupPed

Facts

Facts about _ADD_WITNESS_RESPONSE
Name
_ADD_WITNESS_RESPONSE
Hash
0x10827B5A0AAC56A7
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x10827B5A0AAC56A7, -- _ADD_WITNESS_RESPONSE
  PlayerId(), -- Player player
  GetHashKey("name"), -- Hash crimeType
  PlayerPedId() -- Ped pedGroup
)
JavaScript
Citizen.invokeNative("0x10827B5A0AAC56A7", // _ADD_WITNESS_RESPONSE
  PlayerId(), // Player player
  GetHashKey("name"), // Hash crimeType
  PlayerPedId() // Ped pedGroup
);
C#
Function.Call((Hash)0x10827B5A0AAC56A7, // _ADD_WITNESS_RESPONSE
  API.PlayerId(), // Player player
  (uint)API.GetHashKey("name"), // Hash crimeType
  API.PlayerPedId() // Ped pedGroup
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.