Difference between revisions of "SetRainLevel"

From Multi Theft Auto: Wiki
m
m
Line 12: Line 12:
  
 
===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:22, 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.