Difference between revisions of "SetRainLevel"

From Multi Theft Auto: Wiki
(Extended the info.)
m
Line 5: Line 5:
 
==Syntax==
 
==Syntax==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
bool setRainLevel ( float Level )
+
bool setRainLevel ( float level )
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
===Required Arguments===  
 
===Required Arguments===  
*'''Level:''' A floating point number representing the rain level.
+
*'''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.