ResetMoonSize: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} {{New feature/item|4.0132|1.3.1|5063| This function is used to reset the size of the moon to its normal size. }} ==Syntax== <syntaxhighlight lang="lua"> boo...") |
No edit summary |
||
Line 21: | Line 21: | ||
addCommandHandler("resetmoonsize", commandResetMoonSize) | addCommandHandler("resetmoonsize", commandResetMoonSize) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Requirements== | |||
{{Requirements|1.3.1-9.05063|1.3.1-9.05063|}} | |||
==See Also== | ==See Also== | ||
{{World functions}} | {{World functions}} |
Revision as of 13:57, 17 February 2013
Syntax
bool resetMoonSize ( )
Returns
Returns true if the size of the moon was reset, false otherwise.
Example
This example lets any player reset the size of the moon like /resetmoonsize
function commandResetMoonSize(player, command) resetMoonSize() end addCommandHandler("resetmoonsize", commandResetMoonSize)
Requirements
This template will be deleted.
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