GetRainLevel: Difference between revisions
Jump to navigation
Jump to search
OpenIDUser28 (talk | contribs) (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
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 [-]
Clienttodo
--todo
See Also
- areTrafficLightsLocked
- getAircraftMaxHeight
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getInteriorSoundsEnabled
- getJetpackMaxHeight
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getSkyGradient
- getPlayerBlurLevel
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxHeight
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- setJetpackMaxHeight
- setPlayerBlurLevel