Gameplay::clearWeatherTypeOvertimePersist

From RAGE Multiplayer Wiki
Revision as of 11:07, 29 April 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsFunction}} {{JSContainer| Clears any presisting weather, transition time is specified in ms. ===Required Params=== *'''transitionTime:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.clearWeatherTypeOvertimePersist(transitionTime); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.gameplay.clearWeatherTypeOvertimePersist(0); </syntaxhighlight> }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

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);


See also