SET_WEATHER_OWNED_BY_NETWORK
Sets whether or not the weather should be owned by the network subsystem.
Signature
void SET_WEATHER_OWNED_BY_NETWORK(BOOL network);Parameters
| Name | Type | Description |
|---|---|---|
network | BOOL | true to let the network control weather, false to not use network weather behavior. |
Returns void
Description
Sets whether or not the weather should be owned by the network subsystem.
To be able to use _SET_WEATHER_TYPE_TRANSITION, this has to be set to false.
Usage
SetWeatherOwnedByNetwork(network)
-- always works, by hash
Citizen.InvokeNative(0x2703d582, network)JavaScript and C#
SetWeatherOwnedByNetwork(network);
// by hash
Citizen.invokeNative('0x2703d582', network);Function.Call((Hash)0x2703d582, network);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.