ResetSunSize

From Multi Theft Auto: Wiki

Jump to: navigation, search

This function is used to reset the size of the sun to its normal size.

Syntax

bool resetSunSize ( )

Returns

Returns true if the size of the sun was reset, false otherwise.

Example

This example lets any player reset the size of the sun like /resetsunsize

function commandResetSunSize(player, command)
    resetSunSize()
end
addCommandHandler("resetsunsize", commandResetSunSize)

See Also

  • areTrafficLightsLocked
  • getCloudsEnabled
  • getGameSpeed
  • getGravity
  • getHeatHaze
  • getJetpackMaxHeight
  • getSkyGradient
  • getTime
  • getTrafficLightState
  • getWeather
  • getZoneName
  • isGarageOpen
  • resetSkyGradient
  • resetHeatHaze
  • setCloudsEnabled
  • setGameSpeed
  • setGarageOpen
  • setGravity
  • setHeatHaze
  • setMinuteDuration
  • setSkyGradient
  • setTime
  • setTrafficLightState
  • setTrafficLightsLocked
  • setWeather
  • setWeatherBlended
  • setInteriorSoundsEnabled
  • getInteriorSoundsEnabled
  • setRainLevel
  • getRainLevel
  • resetRainLevel
  • setSunSize
  • getSunSize
  • resetSunSize
  • setSunColor
  • getSunColor
  • resetSunColor
  • setWindVelocity
  • getWindVelocity
  • resetWindVelocity
  • setFarClipDistance
  • getFarClipDistance
  • resetFarClipDistance
  • setFogDistance
  • getFogDistance
  • resetFogDistance
  • removeWorldModel
  • restoreWorldModel
  • restoreAllWorldModels
  • setOcclusionsEnabled
  • getOcclusionsEnabled
Retrieved from "http://wiki.multitheftauto.com/wiki/ResetSunSize"
Categories: Server functions | Client functions
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account with OpenID
home | irc chat | community | forum | wiki | bugs | heroes | hosting
Navigation
  • Home
  • How you can help
  • Recent changes
  • Random page
reference
  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • MTA Classes
  • MTA Elements
  • Element Tree
 
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
Powered by MediaWiki
GNU Free Documentation License 1.2
  • This page was last modified on 14 March 2011, at 19:05.
  • This page has been accessed 539 times.
  • Content is available under GNU Free Documentation License 1.2.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers