GetWeather: Difference between revisions

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


==Example==
==Example==
<syntaxhighlight lang="lua">id = getWeather ()
This example outputs the current weather ID in that chat box.
outputChatBox ( "The current weather id is ", id )</syntaxhighlight>
<syntaxhighlight lang="lua">weatherId = getWeather ()
outputChatBox ( "The current weather id is " .. weatherId )</syntaxhighlight>


==See Also==
==See Also==
{{World functions}}
{{World functions}}
[[Category:Incomplete]]
[[Category:Incomplete]]

Revision as of 13:44, 13 September 2006