MiscClientBlocked

clearWeatherTypePersist

CLEAR_WEATHER_TYPE_PERSIST0xCCC39339BEF76CF5

The GTA V native CLEAR_WEATHER_TYPE_PERSIST of the MISC namespace, as LS:MP client scripts call it: the global function clearWeatherTypePersist, in JavaScript and in Lua.

SignatureJavaScript
clearWeatherTypePersist(): void
SignatureLua
clearWeatherTypePersist()
✕
Blocked for scripts: Managed world state

LS:MP manages shared weather and restricts direct clock changes. The checked clock setters document their accepted ranges.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Misc MISC
In the game
void CLEAR_WEATHER_TYPE_PERSIST()
Hash
0xCCC39339BEF76CF5

Open in the interactive natives reference