GetWeather: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 8: Line 8:
==Example==
==Example==
  id = [[getWeather]] ()
  id = [[getWeather]] ()
  [[serverChat]] ( "The current weather id is ", primary )
  [[serverChat]] ( "The current weather id is ", id )

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 ", id )