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

Function

getRainLevel

Server and clientMiscellaneousIdentical to MTA:SA

Returns the rain level stored with setRainLevel (0 by default). Works on the server and the client.

Syntax

float getRainLevel()

Returns

The rain level.

Example

outputChatBox("Deszcz: " .. getRainLevel())

See also