resetSunSize | Multi Theft Auto: Wiki Skip to content

resetSunSize

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


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

Syntax

bool resetSunSize ( )

Returns

  • bool: value

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

Code Examples

shared

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

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

See Also

World Functions