ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. setWeatherBlended

Function

setWeatherBlended

Server and clientWorldIdentical to MTA:SA

Schedules a smooth weather change: the server switches to the new weather after about two game hours.

Syntax

bool setWeatherBlended(int weather)

Arguments

weatherint
Target weather number 0-255.

Returns

true on success.

Example

setWeatherBlended(8)

Notes

Client. In a client script - a weather transition for this player only.

See also