RedM Natives

SET_PLAYER_ARRESTED_IN_REGION

Hash0xE0FA74AA3CCE650B
Runtime nameSetPlayerArrestedInRegion
NamespaceLAW
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_PLAYER_ARRESTED_IN_REGION(Player player, Hash lawRegionHash);

Parameters

NameTypeDescription
playerPlayer—
lawRegionHashHash—

Returns void

Usage

Lua
SetPlayerArrestedInRegion(player, lawRegionHash)

-- always works, by hash
Citizen.InvokeNative(0xE0FA74AA3CCE650B, player, lawRegionHash)
JavaScript and C#
JavaScript
SetPlayerArrestedInRegion(player, lawRegionHash);

// by hash
Citizen.invokeNative('0xE0FA74AA3CCE650B', player, lawRegionHash);
C#
Function.Call((Hash)0xE0FA74AA3CCE650B, player, lawRegionHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.