resetWorldProperty | Multi Theft Auto: Wiki Skip to content

resetWorldProperty

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 values of time cycle and weather related properties.

Note

Some properties (like RainFog and Sandstorm ) are not reset immediately. The game resets it smoothly over small period of time.

Syntax

bool resetWorldProperty ( string property )
Required Arguments
  • property: The property you wish to retrieve.

Returns

  • bool: value

Returns true if successful, false otherwise.

Code Examples

Script Example Missing

Function resetWorldProperty needs a script example. Help out by writing one.

Contribution guidelines

See Also

World Functions