SET_PLAYER_ARRESTED_IN_REGION
Hash
0xE0FA74AA3CCE650BRuntime name
SetPlayerArrestedInRegionNamespaceLAW
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_PLAYER_ARRESTED_IN_REGION(Player player, Hash lawRegionHash);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
lawRegionHash | Hash | — |
Returns void
Usage
SetPlayerArrestedInRegion(player, lawRegionHash)
-- always works, by hash
Citizen.InvokeNative(0xE0FA74AA3CCE650B, player, lawRegionHash)JavaScript and C#
SetPlayerArrestedInRegion(player, lawRegionHash);
// by hash
Citizen.invokeNative('0xE0FA74AA3CCE650B', player, lawRegionHash);Function.Call((Hash)0xE0FA74AA3CCE650B, player, lawRegionHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.