MiscClient

isPrevWeatherType

IS_PREV_WEATHER_TYPE0x44F28F86433B10A9

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

SignatureJavaScript
isPrevWeatherType(weatherType: string): boolean
SignatureLua
isPrevWeatherType(weatherType: string): boolean

Usage

JavaScript
const result = isPrevWeatherType(weatherType);
Lua
local result = isPrevWeatherType(weatherType)

Parameters

ParameterTypeJavaScriptLua
weatherTypestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_PREV_WEATHER_TYPE(const char* weatherType)
Hash
0x44F28F86433B10A9

Open in the interactive natives reference