GetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="lua">id = getWeather ()
<syntaxhighlight lang="lua">id = getWeather ()
serverChat ( "The current weather id is ", id )</syntaxhighlight>
outputChatBox ( "The current weather id is ", id )</syntaxhighlight>

Revision as of 02:31, 20 May 2006

Description

This function returns the current weather id.

Syntax

getWeather ()

Example

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