# ENTITY::SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK

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

## Signature

```c
void SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK(Entity entity, BOOL toggle);
```

## Parameters

- `entity` (`Entity`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetEntityRequiresMoreExpensiveRiverCheck(entity, toggle)

-- always available, by hash
Citizen.InvokeNative(0x850C940EE3E7B8B5, entity, toggle)
```

### JavaScript

```js
SetEntityRequiresMoreExpensiveRiverCheck(entity, toggle);

// by hash
Citizen.invokeNative('0x850C940EE3E7B8B5', entity, toggle);
```

### C#

```csharp
Function.Call((Hash)0x850C940EE3E7B8B5, entity, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
