SetRainLevel: Difference between revisions
Jump to navigation
Jump to search
OpenIDUser28 (talk | contribs) (Extended the info.) |
OpenIDUser28 (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setRainLevel ( float | bool setRainLevel ( float level ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''level:''' A floating point number representing the rain level. | ||
===Returns=== | ===Returns=== | ||
Returns true if the rain level was set, ''false'' otherwise. | Returns true if the rain level was set, ''false'' otherwise. |
Revision as of 12:20, 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.