# CFX::SET_WEATHER_OWNED_BY_NETWORK

- **Hash:** `0x2703D582`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetWeatherOwnedByNetwork`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_WEATHER_OWNED_BY_NETWORK

## Signature

```c
void SET_WEATHER_OWNED_BY_NETWORK(BOOL network);
```

## Parameters

- `network` (`BOOL`) — true to let the network control weather, false to not use network weather behavior.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets whether or not the weather should be owned by the network subsystem.

To be able to use [\_SET_WEATHER_TYPE_TRANSITION](#\_0x578C752848ECFA0C), this has to be set to false.

## Usage

### Lua

```lua
SetWeatherOwnedByNetwork(network)

-- always available, by hash
Citizen.InvokeNative(0x2703d582, network)
```

### JavaScript

```js
SetWeatherOwnedByNetwork(network);

// by hash
Citizen.invokeNative('0x2703d582', network);
```

### C#

```csharp
Function.Call((Hash)0x2703d582, network);
```

*Sources: Cfx.re native reference.*
