GetWeather

From Multi Theft Auto: Wiki
Revision as of 02:38, 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 returns the current weather as two ints (primary and secondary).

Syntax

int int getWeather ()

Example

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