GetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Description==
==Description==
This function returns the current weather as two ints (primary and secondary).
This function returns the current weather id.


==Syntax==
==Syntax==

Revision as of 17:31, 8 April 2006

Description

This function returns the current weather id.

Syntax

int int getWeather ()

Example

primary, secondary = getWeather ()
serverChat ( "The current weather is ", primary, " and ", secondary )