# CREW::_NETWORK_ACCEPT_CLAN_INVITE

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

## Signature

```c
BOOL _NETWORK_ACCEPT_CLAN_INVITE(int crewInviteIndex);
```

## Parameters

- `crewInviteIndex` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = NetworkAcceptClanInvite(crewInviteIndex)

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

### JavaScript

```js
const retval = NetworkAcceptClanInvite(crewInviteIndex);

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

### C#

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

- 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.*
