GetRainLevel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Extended the info.)
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{Needs Example}}
This function is used to get the current rain level.
This function is used to get the current rain level.


Line 12: Line 13:
===Returns===
===Returns===
Returns the rain level as a number.
Returns the rain level as a number.
==Example==
<section name="Client" class="client" show="true">
todo
<syntaxhighlight lang="lua">
--todo
</syntaxhighlight>
</section>
==See Also==
{{World functions}}

Revision as of 12:06, 29 March 2013

Accessories-text-editor.png Script Example Missing Function GetRainLevel needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function is used to get the current rain level.

Note: The server can only return the rain level if it has actually been set by script, otherwise it will return false.

Syntax

float getRainLevel( )

Returns

Returns the rain level as a number.

Example

Click to collapse [-]
Client

todo

--todo

See Also