GetWeather: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function returns the server weather. ==Syntax== {{#tag:pre|Weather {{Template:CSharp_Serverside_namespace}}World.GetWeather();}} ==Example== {{CSharpContainer| {{Exampl...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This function returns the server weather.
This function returns the server weather.
 
{{CSharpContainer|
==Syntax==
{{#tag:pre|Weather {{Template:CSharp_Serverside_namespace}}World.GetWeather();}}
{{#tag:pre|Weather {{Template:CSharp_Serverside_namespace}}World.GetWeather();}}
==Example==
{{CSharpContainer|
{{Example}}
{{Example}}
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|

Latest revision as of 20:55, 27 November 2019

This function returns the server weather.

C# Syntax

Weather NAPI.World.GetWeather();

Example

Weather weather = NAPI.World.GetWeather();