Skip to main content

Gameplay::clearWeatherTypeOvertimePersist

Client-side function

JavaScript​

Clears any presisting weather, transition time is specified in ms.

Required Params​

  • transitionTime: number

Return value​

  • void

Syntax​

mp.game.gameplay.clearWeatherTypeOvertimePersist(transitionTime);

Example​

mp.game.gameplay.clearWeatherTypeOvertimePersist(0);