GetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">int getWeather ()</syntaxhighlight>
<syntaxhighlight lang="lua">getWeather ()</syntaxhighlight>


==Example==
==Example==
<syntaxhighlight lang="lua">id = getWeather ()
<syntaxhighlight lang="lua">id = getWeather ()
serverChat ( "The current weather id is ", id )</syntaxhighlight>
serverChat ( "The current weather id is ", id )</syntaxhighlight>

Revision as of 02:39, 18 May 2006

Description

This function returns the current weather id.

Syntax

getWeather ()

Example

id = getWeather ()
serverChat ( "The current weather id is ", id )