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
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|

Revision as of 20:54, 27 November 2019

This function returns the server weather.

C# Syntax

Weather NAPI.World.GetWeather();

Example

Weather weather = NAPI.World.GetWeather();