SetWeather

From Multi Theft Auto: Wiki
Revision as of 02:24, 1 April 2006 by ChrML (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This function sets the current primary and secondary weather to the given values.

Syntax

bool setWeather ( int primary, int secondary )

Required Arguments

  • primary: The new primary weather (range 0-9)
  • secondary: The new secondary weather (range 0-9)

Example

setWeather ( 9, 9 )
serverChat ( "Weather changed to foggy!" )