# NETWORK::NETWORK_REQUEST_CONTROL_OF_ENTITY

- **Hash:** `0xB69317BF5E782347`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkRequestControlOfEntity`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/NETWORK_REQUEST_CONTROL_OF_ENTITY

## Signature

```c
BOOL NETWORK_REQUEST_CONTROL_OF_ENTITY(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = NetworkRequestControlOfEntity(entity)

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

### JavaScript

```js
const retval = NetworkRequestControlOfEntity(entity);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
