_REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
Overrides the law dispatch response used for player with dispatchResponseHash.
Signature
void _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE(Player player, Hash dispatchResponseHash); // 0x9C4352134B2835FB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | dispatchResponseHash | Hash |
Facts
| Name | _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE |
|---|---|
| Hash | 0x9C4352134B2835FB |
| 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(0x9C4352134B2835FB, -- _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
PlayerId(), -- Player player
GetHashKey("name") -- Hash dispatchResponseHash
)Citizen.invokeNative("0x9C4352134B2835FB", // _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
PlayerId(), // Player player
GetHashKey("name") // Hash dispatchResponseHash
);Function.Call((Hash)0x9C4352134B2835FB, // _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
API.PlayerId(), // Player player
(uint)API.GetHashKey("name") // Hash dispatchResponseHash
);Related LAW natives
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _SET_CUSTOM_LAW_DISPATCH_RESPONSE
- _ENABLE_DISPATCH_LAW
- _ENABLE_DISPATCH_LAW_2
- _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
- _GET_CRIME_DISPATCH_TYPE_FOR_PLAYER
- _HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH
- _LAW_WITNESS_RESPONSE_TASK
- _SET_CANT_LOSE_LAW_THIS_RESPONSE
- _SET_DISPATCH_MULTIPLIER_OVERRIDE
- _REPORT_CRIME
- _ADD_WITNESS_RESPONSE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.