isPrevWeatherType
IS_PREV_WEATHER_TYPE0x44F28F86433B10A9The 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.
isPrevWeatherType(weatherType: string): booleanisPrevWeatherType(weatherType: string): booleanUsage
JavaScript
const result = isPrevWeatherType(weatherType);Lua
local result = isPrevWeatherType(weatherType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
weatherType | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL IS_PREV_WEATHER_TYPE(const char* weatherType)- Hash
0x44F28F86433B10A9