_SET_CUSTOM_LAW_DISPATCH_RESPONSE
Uses dispatchResponseHash as a custom law dispatch response.
Signature
void _SET_CUSTOM_LAW_DISPATCH_RESPONSE(Hash dispatchResponseHash); // 0x009CF9A29972C298 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | dispatchResponseHash | Hash |
Facts
| Name | _SET_CUSTOM_LAW_DISPATCH_RESPONSE |
|---|---|
| Hash | 0x009CF9A29972C298 |
| 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(0x009CF9A29972C298, -- _SET_CUSTOM_LAW_DISPATCH_RESPONSE
GetHashKey("name") -- Hash dispatchResponseHash
)Citizen.invokeNative("0x009CF9A29972C298", // _SET_CUSTOM_LAW_DISPATCH_RESPONSE
GetHashKey("name") // Hash dispatchResponseHash
);Function.Call((Hash)0x009CF9A29972C298, // _SET_CUSTOM_LAW_DISPATCH_RESPONSE
(uint)API.GetHashKey("name") // Hash dispatchResponseHash
);Related LAW natives
- _SET_CANT_LOSE_LAW_THIS_RESPONSE
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _REPORT_PLAYER_LAW_DISPATCH_RESPONSE_OVERRIDE
- _SET_ALLOW_DISABLED_LAW_RESPONSES
- _SET_DISPATCH_MULTIPLIER_OVERRIDE
- _SET_LAW_DISABLED
- _SET_LAW_RBS_VOLUME
- _SET_LAW_REGION
- _SET_PED_LAW_BEHAVIOUR
- _ENABLE_DISPATCH_LAW
- _ENABLE_DISPATCH_LAW_2
- _LAW_WITNESS_RESPONSE_TASK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.