SetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Description==
==Description==
This function sets the current primary and secondary weather to the given values.
This function sets the current weather id to the given value.


==Syntax==
==Syntax==

Revision as of 17:31, 8 April 2006

Description

This function sets the current weather id to the given value.

Syntax

bool setWeather ( int id )

Required Arguments

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

Example

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