SET_PLAYER_ARRESTED_IN_REGION
Records that player was arrested in the law region lawRegionHash.
Signature
void SET_PLAYER_ARRESTED_IN_REGION(Player player, Hash lawRegionHash); // 0xE0FA74AA3CCE650B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | lawRegionHash | Hash |
Facts
| Name | SET_PLAYER_ARRESTED_IN_REGION |
|---|---|
| Hash | 0xE0FA74AA3CCE650B |
| 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(0xE0FA74AA3CCE650B, -- SET_PLAYER_ARRESTED_IN_REGION
PlayerId(), -- Player player
GetHashKey("name") -- Hash lawRegionHash
)Citizen.invokeNative("0xE0FA74AA3CCE650B", // SET_PLAYER_ARRESTED_IN_REGION
PlayerId(), // Player player
GetHashKey("name") // Hash lawRegionHash
);Function.Call((Hash)0xE0FA74AA3CCE650B, // SET_PLAYER_ARRESTED_IN_REGION
API.PlayerId(), // Player player
(uint)API.GetHashKey("name") // Hash lawRegionHash
);Related LAW natives
- SET_PLAYER_TURNED_IN_BOUNTY_IN_REGION
- _SET_LAW_REGION
- SET_POSTPONE_DISTURBANCE_CRIMES_DURING_COMBAT
- SET_BOUNTY
- SET_DISABLE_DISTURBANCE_CRIMES
- SET_LAW_SENSE_RANGE_MODIFIER
- SET_WANTED_SCORE
- _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
- _FORCE_PLAYER_SEARCH
- _FORCE_PLAYER_SEARCH_THIS_FRAME
- _GET_CRIME_DISPATCH_TYPE_FOR_PLAYER
- _GET_HUD_PLAYER_CRIME_TYPE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.