_ADD_WITNESS_RESPONSE
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
void _ADD_WITNESS_RESPONSE(Player player, Hash crimeType, Ped pedGroup); // 0x10827B5A0AAC56A7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | crimeType | Hash |
| 3 | pedGroup | Ped |
Facts
| 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.
Citizen.InvokeNative(0x10827B5A0AAC56A7, -- _ADD_WITNESS_RESPONSE
PlayerId(), -- Player player
GetHashKey("name"), -- Hash crimeType
PlayerPedId() -- Ped pedGroup
)Citizen.invokeNative("0x10827B5A0AAC56A7", // _ADD_WITNESS_RESPONSE
PlayerId(), // Player player
GetHashKey("name"), // Hash crimeType
PlayerPedId() // Ped pedGroup
);Function.Call((Hash)0x10827B5A0AAC56A7, // _ADD_WITNESS_RESPONSE
API.PlayerId(), // Player player
(uint)API.GetHashKey("name"), // Hash crimeType
API.PlayerPedId() // Ped pedGroup
);Related LAW natives
- _LAW_WITNESS_RESPONSE_TASK
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
- _SET_CANT_LOSE_LAW_THIS_RESPONSE
- _SET_CUSTOM_LAW_DISPATCH_RESPONSE
- ADD_BOUNTY
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _ARE_INVESTIGATORS_ACTIVE
- _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
- _ARE_WITNESSES_PENDING
- _CREATE_GUARD_ZONE
- _CREATE_GUARD_ZONE_FOR_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.