GetWeather: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
This function returns the server weather.
This function returns the server weather.
{{CSharpContainer|
{{CSharpContainer|
{{#tag:pre|{{Template:CSharp_Serverside_namespace}}World.GetWeather();}}
{{#tag:pre|Weather {{Template:CSharp_Serverside_namespace}}World.GetWeather();}}
{{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();