# GANG::_NETWORK_SET_GANG_PRIVACY

- **Hash:** `0xC5BF29F4035277C2`
- **Namespace:** GANG
- **Runtime name (Lua/JS):** `NetworkSetGangPrivacy`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GANG/_NETWORK_SET_GANG_PRIVACY

## Signature

```c
BOOL _NETWORK_SET_GANG_PRIVACY(int privacyType);
```

## Parameters

- `privacyType` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = NetworkSetGangPrivacy(privacyType)

-- always available, by hash
local retval = Citizen.InvokeNative(0xC5BF29F4035277C2, privacyType, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = NetworkSetGangPrivacy(privacyType);

// by hash
const retval = Citizen.invokeNative('0xC5BF29F4035277C2', privacyType, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xC5BF29F4035277C2, privacyType);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
