GetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 7: Line 7:


==Example==
==Example==
  primary, secondary = [[getWeather]] ()
  id = [[getWeather]] ()
  [[serverChat]] ( "The current weather is ", primary, " and ", secondary )
  [[serverChat]] ( "The current weather id is ", primary )

Revision as of 17:32, 8 April 2006

Description

This function returns the current weather id.

Syntax

int getWeather ()

Example

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