SetWeather

From Multi Theft Auto: Wiki
Revision as of 17:31, 8 April 2006 by ChrML (talk | contribs) (→‎Syntax)
Jump to navigation Jump to search

Description

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

Syntax

bool setWeather ( int id )

Required Arguments

  • id: The new weather id (range 0-19)

Example

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