GetWeather: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">int getWeather ()</syntaxhighlight> | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">id = getWeather () | |||
serverChat ( "The current weather id is ", id )</syntaxhighlight> |
Revision as of 02:29, 18 May 2006
Description
This function returns the current weather id.
Syntax
int getWeather ()
Example
id = getWeather () serverChat ( "The current weather id is ", id )