SetRainLevel: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} ==Syntax== <syntaxhighlight lang="lua"> bool setRainLevel ( float amount ) </syntaxhighlight>") |
OpenIDUser28 (talk | contribs) (Extended the info.) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server client function}} | {{Server client function}} | ||
This function sets the rain level to any weather available in GTA. Use [[resetRainLevel]] to undo the changes. | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setRainLevel ( float | bool setRainLevel ( float Level ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | |||
*'''Level:''' A floating point number representing the rain level. | |||
===Returns=== | |||
Returns true if the rain level was set, ''false'' otherwise. |
Revision as of 12:14, 4 September 2011
This function sets the rain level to any weather available in GTA. Use resetRainLevel to undo the changes.
Syntax
bool setRainLevel ( float Level )
Required Arguments
- Level: A floating point number representing the rain level.
Returns
Returns true if the rain level was set, false otherwise.