MiscClient

isNextWeatherType

IS_NEXT_WEATHER_TYPE0x2FAA3A30BEC0F25D

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
weatherTypestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_NEXT_WEATHER_TYPE(const char* weatherType)
Hash
0x2FAA3A30BEC0F25D

Open in the interactive natives reference